Skip to content

Commit

Permalink
pylint: Provide ignore paths for Pylint 2.14.4+
Browse files Browse the repository at this point in the history
New pylint 2.14.4 includes fix for
pylint-dev/pylint#6964, this results in our pylint
configuration for `ignore-paths` is no longer valid (`./.tox` => `.tox`)
and pylint fails on checking not related projects from `.tox` directory:
> ERROR: InvocationError for command /home/runner/work/pyproject_installer/pyproject_installer/.tox/pylint/bin/python -m pylint -v --rcfile=/home/runner/work/pyproject_installer/pyproject_installer/pyproject.toml . (exited with code 30)

Fixes: #11
Signed-off-by: Stanislav Levin <slev@altlinux.org>
  • Loading branch information
stanislavlevin committed Jun 30, 2022
1 parent 528ae7b commit 1342574
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pyproject.toml
Expand Up @@ -47,7 +47,9 @@ recursive = true
ignore-paths = [
".*/_vendor/.*",
'.*/\.git/.*',
'^.git/.*', # dot escaping doesn't work, see pylint#5398
'.*/\.tox/.*',
'^.tox/.*', # dot escaping doesn't work, see pylint#5398
]
suggestion-mode = "yes"
persistent="no"
Expand Down

0 comments on commit 1342574

Please sign in to comment.