mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 14:32:28 +03:00
Merge branch 'polish-pylint' into 'master'
polish pylint See merge request fdroid/fdroidserver!1637
This commit is contained in:
commit
964861eb68
2 changed files with 2 additions and 7 deletions
|
@ -268,13 +268,12 @@ pylint:
|
||||||
script:
|
script:
|
||||||
- apt-get install pylint python3-pip
|
- apt-get install pylint python3-pip
|
||||||
- $pip install --break-system-packages pylint-gitlab
|
- $pip install --break-system-packages pylint-gitlab
|
||||||
- pylint --output-format=pylint_gitlab.GitlabCodeClimateReporter
|
- pylint --output-format=colorized,pylint_gitlab.GitlabCodeClimateReporter:pylint-report.json
|
||||||
fdroid
|
fdroid
|
||||||
makebuildserver
|
makebuildserver
|
||||||
setup.py
|
setup.py
|
||||||
fdroidserver/*.py
|
fdroidserver/*.py
|
||||||
tests/*.py
|
tests/*.py
|
||||||
> pylint-report.json
|
|
||||||
artifacts:
|
artifacts:
|
||||||
reports:
|
reports:
|
||||||
codequality: pylint-report.json
|
codequality: pylint-report.json
|
||||||
|
|
|
@ -78,7 +78,7 @@ disable_error_code = "no-redef, misc, arg-type"
|
||||||
# Use multiple processes to speed up Pylint. Specifying 0 will auto-detect the
|
# Use multiple processes to speed up Pylint. Specifying 0 will auto-detect the
|
||||||
# number of processors available to use, and will cap the count on Windows to
|
# number of processors available to use, and will cap the count on Windows to
|
||||||
# avoid hangs.
|
# avoid hangs.
|
||||||
jobs = 4
|
jobs = 0
|
||||||
|
|
||||||
# Minimum Python version to use for version dependent checks. Will default to the
|
# Minimum Python version to use for version dependent checks. Will default to the
|
||||||
# version used to run pylint.
|
# version used to run pylint.
|
||||||
|
@ -87,10 +87,6 @@ py-version = "3.9"
|
||||||
# Files or directories to be skipped. They should be base names, not paths.
|
# Files or directories to be skipped. They should be base names, not paths.
|
||||||
ignore = ["apksigcopier.py", "looseversion.py"]
|
ignore = ["apksigcopier.py", "looseversion.py"]
|
||||||
|
|
||||||
[tool.pylint.basic]
|
|
||||||
# Good variable names which should always be accepted, separated by a comma.
|
|
||||||
good-names = ["i", "j", "k", "ex", "Run", "f", "fp"]
|
|
||||||
|
|
||||||
[tool.pylint."messages control"]
|
[tool.pylint."messages control"]
|
||||||
# Only show warnings with the listed confidence levels. Leave empty to show all.
|
# Only show warnings with the listed confidence levels. Leave empty to show all.
|
||||||
# Valid levels: HIGH, CONTROL_FLOW, INFERENCE, INFERENCE_FAILURE, UNDEFINED.
|
# Valid levels: HIGH, CONTROL_FLOW, INFERENCE, INFERENCE_FAILURE, UNDEFINED.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue