This repository has been archived by the owner on May 14, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Python Requirements Update (with fix for pylint 2.15) (#208)
* chore: Updating Python Requirements * chore: pin pylint to < 2.15.0 because the new release is not working * chore: un-pin pylint (required hack in pylintrc_tweaks) * chore: remove pyblake2, use correct python version Co-authored-by: edX requirements bot <devops+edx-requirements-bot@edx.org>
- Loading branch information
1 parent
6ecde29
commit 35d7d17
Showing
14 changed files
with
129 additions
and
127 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 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,13 +1,13 @@ | ||
[MASTER] | ||
ignore+= ,migrations, settings, setup.py, wsgi.py | ||
# For some reason, pylint 2.15+ isn't working without this fix. Normally | ||
# sys.path contains "" as the first entry, but for some reason it's missing. | ||
init-hook='import sys; sys.path.append("")' | ||
|
||
[BASIC] | ||
const-rgx = (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns|logger|User)$ | ||
|
||
[MESSAGES CONTROL] | ||
DISABLE+= ,invalid-name | ||
|
||
# Our version of pylint doesn't understand attr() generated classes. | ||
# Can remove this once edx-lint is updated to the latest pylint | ||
[TYPECHECK] | ||
ignored-classes=_CountingAttr | ||
# The 'unsupported-binary-operation' check needs to be disabled on Python<3.10 but can be left enabled once we upgrade | ||
# to 3.10+ | ||
DISABLE+= ,invalid-name,unsupported-binary-operation |
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,7 +1,6 @@ | ||
-c constraints.txt | ||
|
||
attrs | ||
pyblake2 | ||
django | ||
django-environ | ||
django-waffle | ||
|
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
Oops, something went wrong.