From 339fbe4b443b4b18dffba42b3f6e0957281a84e6 Mon Sep 17 00:00:00 2001 From: Carlos Cordoba Date: Fri, 6 Jan 2023 18:29:33 -0500 Subject: [PATCH 1/2] Add top constraint to Pylint This will save us from headaches when that major version is released --- pyproject.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 9ada832e..3faaba93 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,7 +33,7 @@ all = [ "pycodestyle>=2.9.0,<2.11.0", "pydocstyle>=6.2.0,<6.3.0", "pyflakes>=2.5.0,<3.1.0", - "pylint>=2.5.0", + "pylint>=2.5.0,<3", "rope>1.2.0", "yapf", "whatthepatch" @@ -44,12 +44,12 @@ mccabe = ["mccabe>=0.7.0,<0.8.0"] pycodestyle = ["pycodestyle>=2.9.0,<2.11.0"] pydocstyle = ["pydocstyle>=6.2.0,<6.3.0"] pyflakes = ["pyflakes>=2.5.0,<3.1.0"] -pylint = ["pylint>=2.5.0"] +pylint = ["pylint>=2.5.0,<3"] rope = ["rope>1.2.0"] yapf = ["yapf", "whatthepatch>=1.0.2,<2.0.0"] websockets = ["websockets>=10.3"] test = [ - "pylint>=2.5.0", + "pylint>=2.5.0,<3", "pytest", "pytest-cov", "coverage", From c958f221dd5cccf05f2c0a8e1230a23f0f4b2507 Mon Sep 17 00:00:00 2001 From: Carlos Cordoba Date: Fri, 6 Jan 2023 18:37:57 -0500 Subject: [PATCH 2/2] Fix constraint for whatthepatch This was declared differently in two different places --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 3faaba93..8d384345 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -36,7 +36,7 @@ all = [ "pylint>=2.5.0,<3", "rope>1.2.0", "yapf", - "whatthepatch" + "whatthepatch>=1.0.2,<2.0.0" ] autopep8 = ["autopep8>=1.6.0,<1.7.0"] flake8 = ["flake8>=5.0.0,<7"]