-
Notifications
You must be signed in to change notification settings - Fork 20
Python Requirements Update (with fix for pylint 2.15 compatibility) #208
Changes from 3 commits
1224dc5
7994665
c2a782b
188656a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
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 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# | ||
# This file is autogenerated by pip-compile with python 3.8 | ||
# This file is autogenerated by pip-compile with python 3.10 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Nit: why is the header updated to There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Whoops, my bad. I tried not to commit the "3.10" but missed a couple. And you're right, better to run it with 3.8 in the first place, so that's what I've done now. I don't think it changed anything besides a comment about which packages depend on |
||
# To update, run: | ||
# | ||
# make upgrade | ||
|
@@ -8,20 +8,18 @@ alabaster==0.7.12 | |
# via sphinx | ||
babel==2.10.3 | ||
# via sphinx | ||
certifi==2022.6.15 | ||
certifi==2022.9.24 | ||
# via requests | ||
charset-normalizer==2.1.1 | ||
# via requests | ||
docutils==0.19 | ||
# via sphinx | ||
edx-sphinx-theme==3.0.0 | ||
# via -r requirements/docs.in | ||
idna==3.3 | ||
idna==3.4 | ||
# via requests | ||
imagesize==1.4.1 | ||
# via sphinx | ||
importlib-metadata==4.12.0 | ||
# via sphinx | ||
jinja2==3.1.2 | ||
# via sphinx | ||
markupsafe==2.1.1 | ||
|
@@ -32,15 +30,15 @@ pygments==2.13.0 | |
# via sphinx | ||
pyparsing==3.0.9 | ||
# via packaging | ||
pytz==2022.2.1 | ||
pytz==2022.4 | ||
# via babel | ||
requests==2.28.1 | ||
# via sphinx | ||
six==1.16.0 | ||
# via edx-sphinx-theme | ||
snowballstemmer==2.2.0 | ||
# via sphinx | ||
sphinx==5.1.1 | ||
sphinx==5.2.3 | ||
# via | ||
# -r requirements/docs.in | ||
# edx-sphinx-theme | ||
|
@@ -58,5 +56,3 @@ sphinxcontrib-serializinghtml==1.1.5 | |
# via sphinx | ||
urllib3==1.26.12 | ||
# via requests | ||
zipp==3.8.1 | ||
# via importlib-metadata |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not necessary to specify
pylintrc
as it's the default config file used.