diff --git a/pylint_plugins/api_models_test.py b/pylint_plugins/api_models_test.py index 95a2a0781d..6d201a55ef 100644 --- a/pylint_plugins/api_models_test.py +++ b/pylint_plugins/api_models_test.py @@ -309,10 +309,12 @@ def test(): line=assign_node_missing.lineno, # fixme: +10 is a workaround, need understand why coloffset # is 4 but visit_attribute is coloffset 14. - col_offset=assign_node_missing.col_offset+10, + col_offset=assign_node_missing.col_offset + 10, end_line=assign_node_missing.end_lineno, end_col_offset=assign_node_missing.end_col_offset, - confidence=Confidence(name='INFERENCE', description='Warning based on inference result.'), + confidence=Confidence( + name="INFERENCE", description="Warning based on inference result." + ), ) ): self.checker.visit_attribute(assign_node_missing.value) diff --git a/requirements-pants.txt b/requirements-pants.txt index ca56e6d278..e9aa8ab982 100644 --- a/requirements-pants.txt +++ b/requirements-pants.txt @@ -47,7 +47,9 @@ psutil pymongo>=3.11.0,<3.13.0 # pyrabbit used in an integration test pyrabbit -pytest +astroid==2.15.8 +pylint==2.17.7 +pytest==6.2.5 python-dateutil editor==1.6.6 Pygments diff --git a/test-requirements.txt b/test-requirements.txt index 903dad34ea..d15578473f 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,6 +1,7 @@ coverage pep8==1.7.1 -st2flake8==0.1.0 +flake8==7.0.0 +st2-flake8 @ git+https://github.com/nzlosh/st2-flake8@master astroid==2.15.8 pylint==2.17.7 pylint-plugin-utils>=0.4 @@ -11,7 +12,8 @@ ipython<6.0.0 isort>=4.2.5 mock==4.0.3 tabulate -sphinx==1.7.9 +# 4.5.0 required for Jinja-3.1.3 support. +sphinx==4.5.0 sphinx-autobuild # pin alabaster (sphinx dependency) or pip installs one that is not compatible alabaster<0.7.14