Add Qt to pylint extension-pkg-allow-list & simplify action
This commit is contained in:
parent
829d981424
commit
cc6508bb7b
2 changed files with 3 additions and 9 deletions
2
.github/workflows/pylint.yml
vendored
2
.github/workflows/pylint.yml
vendored
|
@ -17,4 +17,4 @@ jobs:
|
||||||
- name: Run Pylint
|
- name: Run Pylint
|
||||||
run: |
|
run: |
|
||||||
cd ..
|
cd ..
|
||||||
PYLINTRC=pesterchum-alt-servers/.pylintrc python -m pylint --recursive=y pesterchum-alt-servers
|
python -m pylint "$PWD"
|
||||||
|
|
10
.pylintrc
10
.pylintrc
|
@ -20,13 +20,7 @@ analyse-fallback-blocks=no
|
||||||
# A comma-separated list of package or module names from where C extensions may
|
# A comma-separated list of package or module names from where C extensions may
|
||||||
# be loaded. Extensions are loading into the active Python interpreter and may
|
# be loaded. Extensions are loading into the active Python interpreter and may
|
||||||
# run arbitrary code.
|
# run arbitrary code.
|
||||||
extension-pkg-allow-list=
|
extension-pkg-allow-list=PyQt6,PyQt5,seccomp
|
||||||
|
|
||||||
# A comma-separated list of package or module names from where C extensions may
|
|
||||||
# be loaded. Extensions are loading into the active Python interpreter and may
|
|
||||||
# run arbitrary code. (This is an alternative name to extension-pkg-allow-list
|
|
||||||
# for backward compatibility.)
|
|
||||||
extension-pkg-whitelist=seccomp
|
|
||||||
|
|
||||||
# Return non-zero exit code if any of these messages/categories are detected,
|
# Return non-zero exit code if any of these messages/categories are detected,
|
||||||
# even if score is above --fail-under value. Syntax same as enable. Messages
|
# even if score is above --fail-under value. Syntax same as enable. Messages
|
||||||
|
@ -83,7 +77,7 @@ persistent=yes
|
||||||
py-version=3.8
|
py-version=3.8
|
||||||
|
|
||||||
# Discover python modules and packages in the file system subtree.
|
# Discover python modules and packages in the file system subtree.
|
||||||
recursive=no
|
recursive=yes
|
||||||
|
|
||||||
# When enabled, pylint would attempt to guess common misconfiguration and emit
|
# When enabled, pylint would attempt to guess common misconfiguration and emit
|
||||||
# user-friendly hints instead of false-positive error messages.
|
# user-friendly hints instead of false-positive error messages.
|
||||||
|
|
Loading…
Reference in a new issue