From 41be574df5cf450b7cdefcf2fff9478519709538 Mon Sep 17 00:00:00 2001 From: Usama Sadiq Date: Thu, 28 Mar 2024 23:15:41 +0500 Subject: [PATCH] fix: fix quality checks --- requirements/ci.txt | 2 -- requirements/dev.txt | 12 +++--------- requirements/quality.in | 2 +- requirements/quality.txt | 10 +++------- requirements/test.txt | 1 - 5 files changed, 7 insertions(+), 20 deletions(-) diff --git a/requirements/ci.txt b/requirements/ci.txt index 487331d..e8e8acc 100644 --- a/requirements/ci.txt +++ b/requirements/ci.txt @@ -4,7 +4,6 @@ # # make upgrade # -cachetools==5.3.3 cachetools==5.3.3 # via tox certifi==2024.2.2 @@ -49,6 +48,5 @@ tox==4.14.2 # via -r requirements/ci.in urllib3==2.2.1 # via requests -virtualenv==20.25.1 virtualenv==20.25.1 # via tox diff --git a/requirements/dev.txt b/requirements/dev.txt index 8331af3..0efbe8b 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -6,7 +6,6 @@ # asgiref==3.8.1 # via django -astroid==3.1.0 astroid==3.1.0 # via # pylint @@ -17,7 +16,6 @@ backports-zoneinfo==0.2.1 ; python_version < "3.9" # django build==1.2.1 # via -r requirements/quality.in -cachetools==5.3.3 cachetools==5.3.3 # via tox certifi==2024.2.2 @@ -128,14 +126,13 @@ polib==1.2.0 # via edx-i18n-tools pycodestyle==2.11.1 # via -r requirements/quality.in -pydocstyle==1.1.1 +pydocstyle==6.3.0 # via -r requirements/quality.in pygments==2.17.2 # via # diff-cover # readme-renderer # rich -pylint==3.1.0 pylint==3.1.0 # via # edx-lint @@ -160,7 +157,6 @@ pyyaml==6.0.1 # via # code-annotations # edx-i18n-tools -readme-renderer==43.0 readme-renderer==43.0 # via twine requests==2.31.0 @@ -175,9 +171,10 @@ rich==13.7.1 # via twine six==1.16.0 # via edx-lint +snowballstemmer==2.2.0 + # via pydocstyle sqlparse==0.4.4 # via django -stevedore==5.2.0 stevedore==5.2.0 # via code-annotations text-unidecode==1.3 @@ -189,7 +186,6 @@ tomli==2.0.1 # pyproject-api # pyproject-hooks # tox -tomlkit==0.12.4 tomlkit==0.12.4 # via pylint tox==4.14.2 @@ -198,7 +194,6 @@ twine==5.0.0 # via # -r requirements/dev.in # -r requirements/quality.in -typing-extensions==4.10.0 typing-extensions==4.10.0 # via # asgiref @@ -209,7 +204,6 @@ urllib3==2.2.1 # via # requests # twine -virtualenv==20.25.1 virtualenv==20.25.1 # via tox wheel==0.43.0 diff --git a/requirements/quality.in b/requirements/quality.in index 92a763b..dad3578 100644 --- a/requirements/quality.in +++ b/requirements/quality.in @@ -5,6 +5,6 @@ edx-lint # edX pylint rules and plugins isort # to standardize order of imports pycodestyle # PEP 8 compliance validation -pydocstyle<2.0 # PEP 257 compliance validation: 2.0 doesn't know Google style, and tries to correct my grammar... :( +pydocstyle # PEP 257 compliance validation: 2.0 doesn't know Google style, and tries to correct my grammar... :( build # Build needs to be created for README validation twine # Needed to validate README.rst for usage on PyPI diff --git a/requirements/quality.txt b/requirements/quality.txt index a1d27dd..8831895 100644 --- a/requirements/quality.txt +++ b/requirements/quality.txt @@ -4,7 +4,6 @@ # # make upgrade # -astroid==3.1.0 astroid==3.1.0 # via # pylint @@ -78,13 +77,12 @@ platformdirs==4.2.0 # via pylint pycodestyle==2.11.1 # via -r requirements/quality.in -pydocstyle==1.1.1 +pydocstyle==6.3.0 # via -r requirements/quality.in pygments==2.17.2 # via # readme-renderer # rich -pylint==3.1.0 pylint==3.1.0 # via # edx-lint @@ -105,7 +103,6 @@ python-slugify==8.0.4 # via code-annotations pyyaml==6.0.1 # via code-annotations -readme-renderer==43.0 readme-renderer==43.0 # via twine requests==2.31.0 @@ -120,7 +117,8 @@ rich==13.7.1 # via twine six==1.16.0 # via edx-lint -stevedore==5.2.0 +snowballstemmer==2.2.0 + # via pydocstyle stevedore==5.2.0 # via code-annotations text-unidecode==1.3 @@ -130,12 +128,10 @@ tomli==2.0.1 # build # pylint # pyproject-hooks -tomlkit==0.12.4 tomlkit==0.12.4 # via pylint twine==5.0.0 # via -r requirements/quality.in -typing-extensions==4.10.0 typing-extensions==4.10.0 # via # astroid diff --git a/requirements/test.txt b/requirements/test.txt index 43fecb5..b4005ab 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -49,6 +49,5 @@ tomli==2.0.1 # via # coverage # pytest -typing-extensions==4.10.0 typing-extensions==4.10.0 # via asgiref