Lint/pylint: update to the latest upstream version v3.3.1
Update pylint to the latest upstream version, to fix a false positive with Python 3.13, that was resolved in `astroid` dependency in version `3.3.5`. In order to update the dependency, the `pylint` version itself needs to be bumped to at least version `3.0.0`. The error was: test/run/test_stages.py:21:0: E0611: No name 'Mapping' in module 'collections.abc' (no-name-in-module) More details: https://github.com/pylint-dev/pylint/issues/10000 Signed-off-by: Tomáš Hozza <thozza@redhat.com>
This commit is contained in:
parent
8b62e9d901
commit
c44657377e
1 changed files with 5 additions and 1 deletions
6
tox.ini
6
tox.ini
|
|
@ -56,7 +56,11 @@ commands =
|
|||
|
||||
[testenv:pylint]
|
||||
deps =
|
||||
pylint==3.0.2
|
||||
pylint==3.3.1
|
||||
# Use astroid of at least v3.3.5 to fix the following error with Python 3.13:
|
||||
# test/run/test_stages.py:21:0: E0611: No name 'Mapping' in module 'collections.abc' (no-name-in-module)
|
||||
# More details: https://github.com/pylint-dev/pylint/issues/10000
|
||||
astroid>=3.3.5
|
||||
|
||||
commands =
|
||||
bash -c 'python -m pylint --ignore-patterns {env:LINTABLES_EXCLUDES_RE} {env:LINTABLES}'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue