-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Centralize Python linter/formatter requirements
These are currently duplicated all over the codebase, often with mismatched constraints. Put them all in one requirements file instead. Fix a few minor issues while I'm at it: * Constrain black to the current major version to avoid New Year surprises (black can change styles between major versions). Constrain isort too, just in case. * Remove usages of `egrep`, which is deprecated (and unnecessary here).
- Loading branch information
Showing
11 changed files
with
12 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
# can't have a dependency on base.txt, because it depends on the generated file | ||
|
||
inflection >= 0.5.1 | ||
isort>=5.10.1 | ||
ruamel.yaml>=0.17.21 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,6 @@ | ||
-r base.in | ||
|
||
black>=24.1 | ||
django-extensions==3.0.8 | ||
django-silk==5.* | ||
pylint-django==2.5.3 | ||
pylint-plugin-utils==0.7 | ||
pylint==2.14.5 | ||
rope==0.17.0 | ||
snakeviz==2.1.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,66 +1,26 @@ | ||
# SHA1:b71f4fe955f645187b7ccdf82b05f6a8d61eb3ab | ||
# SHA1:cd8d0825dc4cfe37b22a489422105acba5483fe4 | ||
# | ||
# This file is autogenerated by pip-compile-multi | ||
# To update, run: | ||
# | ||
# pip-compile-multi | ||
# | ||
-r base.txt | ||
astroid==2.11.7 | ||
# via pylint | ||
autopep8==2.3.1 | ||
# via django-silk | ||
black==24.10.0 | ||
# via -r cvat/requirements/development.in | ||
dill==0.3.9 | ||
# via pylint | ||
django-extensions==3.0.8 | ||
# via -r cvat/requirements/development.in | ||
django-silk==5.3.2 | ||
# via -r cvat/requirements/development.in | ||
gprof2dot==2024.6.6 | ||
# via django-silk | ||
isort==5.13.2 | ||
# via pylint | ||
lazy-object-proxy==1.10.0 | ||
# via astroid | ||
mccabe==0.7.0 | ||
# via pylint | ||
mypy-extensions==1.0.0 | ||
# via black | ||
pathspec==0.12.1 | ||
# via black | ||
platformdirs==4.3.6 | ||
# via | ||
# black | ||
# pylint | ||
pycodestyle==2.12.1 | ||
# via autopep8 | ||
pylint==2.14.5 | ||
# via | ||
# -r cvat/requirements/development.in | ||
# pylint-django | ||
# pylint-plugin-utils | ||
pylint-django==2.5.3 | ||
# via -r cvat/requirements/development.in | ||
pylint-plugin-utils==0.7 | ||
# via | ||
# -r cvat/requirements/development.in | ||
# pylint-django | ||
rope==0.17.0 | ||
# via -r cvat/requirements/development.in | ||
snakeviz==2.1.0 | ||
# via -r cvat/requirements/development.in | ||
tomli==2.2.1 | ||
# via | ||
# autopep8 | ||
# black | ||
# pylint | ||
tomlkit==0.13.2 | ||
# via pylint | ||
# via autopep8 | ||
tornado==6.4.2 | ||
# via snakeviz | ||
|
||
# The following packages are considered to be unsafe in a requirements file: | ||
setuptools==75.6.0 | ||
# via astroid |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
black==24.* | ||
isort==5.* | ||
pylint-django==2.5.3 | ||
pylint-plugin-utils==0.7 | ||
pylint==2.14.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
gitpython | ||
inflection >= 0.5.1 | ||
isort>=5.10.1 | ||
packaging | ||
toml |