Skip to content

Commit

Permalink
chore: Upgrade Python requirements (#216)
Browse files Browse the repository at this point in the history
* chore: Upgrade Python requirements

* fix: disable too-many-positional-arguments pylint warning

Disable too-many-positional arguments pylint warning to allow
max customization for filters signature

---------

Co-authored-by: Maria Grimaldi <maria.grimaldi@edunext.co>
  • Loading branch information
edx-requirements-bot and mariajgrimaldi authored Sep 23, 2024
1 parent 3dd46be commit 6a2c8c4
Show file tree
Hide file tree
Showing 9 changed files with 158 additions and 283 deletions.
18 changes: 3 additions & 15 deletions pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,9 @@ persistent = yes
load-plugins = edx_lint.pylint,pylint_celery

[MESSAGES CONTROL]
enable =
enable =
blacklisted-name,
line-too-long,

abstract-class-instantiated,
abstract-method,
access-member-before-definition,
Expand Down Expand Up @@ -184,26 +183,21 @@ enable =
used-before-assignment,
using-constant-test,
yield-outside-function,

astroid-error,
fatal,
method-check-failed,
parse-error,
raw-checker-failed,

empty-docstring,
invalid-characters-in-docstring,
missing-docstring,
wrong-spelling-in-comment,
wrong-spelling-in-docstring,

unused-argument,
unused-import,
unused-variable,

eval-used,
exec-used,

bad-classmethod-argument,
bad-mcs-classmethod-argument,
bad-mcs-method-argument,
Expand Down Expand Up @@ -234,30 +228,25 @@ enable =
unneeded-not,
useless-else-on-loop,
wrong-assert-type,

deprecated-method,
deprecated-module,

too-many-boolean-expressions,
too-many-nested-blocks,
too-many-statements,

wildcard-import,
wrong-import-order,
wrong-import-position,

missing-final-newline,
mixed-line-endings,
trailing-newlines,
trailing-whitespace,
unexpected-line-ending-format,

bad-inline-option,
bad-option-value,
deprecated-pragma,
unrecognized-inline-option,
useless-suppression,
disable =
disable =
bad-indentation,
consider-using-f-string,
duplicate-code,
Expand All @@ -277,14 +266,13 @@ disable =
too-many-locals,
too-many-public-methods,
too-many-return-statements,
too-many-positional-arguments,
ungrouped-imports,
unspecified-encoding,
unused-wildcard-import,
use-maxsplit-arg,

feature-toggle-needs-doc,
illegal-waffle-usage,

logging-fstring-interpolation,

[REPORTS]
Expand Down
12 changes: 3 additions & 9 deletions requirements/base.txt
Original file line number Diff line number Diff line change
@@ -1,20 +1,14 @@
#
# This file is autogenerated by pip-compile with Python 3.8
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# make upgrade
#
asgiref==3.8.1
# via django
backports-zoneinfo==0.2.1 ; python_version < "3.9"
# via
# -c requirements/constraints.txt
# django
django==4.2.13
django==4.2.16
# via
# -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
# -r requirements/base.in
sqlparse==0.5.0
sqlparse==0.5.1
# via django
typing-extensions==4.12.2
# via asgiref
18 changes: 7 additions & 11 deletions requirements/ci.txt
Original file line number Diff line number Diff line change
@@ -1,38 +1,34 @@
#
# This file is autogenerated by pip-compile with Python 3.8
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# make upgrade
#
cachetools==5.3.3
cachetools==5.5.0
# via tox
chardet==5.2.0
# via tox
colorama==0.4.6
# via tox
distlib==0.3.8
# via virtualenv
filelock==3.15.4
filelock==3.16.1
# via
# tox
# virtualenv
packaging==24.1
# via
# pyproject-api
# tox
platformdirs==4.2.2
platformdirs==4.3.6
# via
# tox
# virtualenv
pluggy==1.5.0
# via tox
pyproject-api==1.7.1
pyproject-api==1.8.0
# via tox
tomli==2.0.1
# via
# pyproject-api
# tox
tox==4.15.1
tox==4.20.0
# via -r requirements/ci.in
virtualenv==20.26.3
virtualenv==20.26.5
# via tox
Loading

0 comments on commit 6a2c8c4

Please sign in to comment.