Skip to content

Commit 964861e

Browse files
committed
Merge branch 'polish-pylint' into 'master'
polish pylint See merge request fdroid/fdroidserver!1637
2 parents 78e6b8f + 8c14e44 commit 964861e

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

.gitlab-ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,13 +268,12 @@ pylint:
268268
script:
269269
- apt-get install pylint python3-pip
270270
- $pip install --break-system-packages pylint-gitlab
271-
- pylint --output-format=pylint_gitlab.GitlabCodeClimateReporter
271+
- pylint --output-format=colorized,pylint_gitlab.GitlabCodeClimateReporter:pylint-report.json
272272
fdroid
273273
makebuildserver
274274
setup.py
275275
fdroidserver/*.py
276276
tests/*.py
277-
> pylint-report.json
278277
artifacts:
279278
reports:
280279
codequality: pylint-report.json

pyproject.toml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ disable_error_code = "no-redef, misc, arg-type"
7878
# Use multiple processes to speed up Pylint. Specifying 0 will auto-detect the
7979
# number of processors available to use, and will cap the count on Windows to
8080
# avoid hangs.
81-
jobs = 4
81+
jobs = 0
8282

8383
# Minimum Python version to use for version dependent checks. Will default to the
8484
# version used to run pylint.
@@ -87,10 +87,6 @@ py-version = "3.9"
8787
# Files or directories to be skipped. They should be base names, not paths.
8888
ignore = ["apksigcopier.py", "looseversion.py"]
8989

90-
[tool.pylint.basic]
91-
# Good variable names which should always be accepted, separated by a comma.
92-
good-names = ["i", "j", "k", "ex", "Run", "f", "fp"]
93-
9490
[tool.pylint."messages control"]
9591
# Only show warnings with the listed confidence levels. Leave empty to show all.
9692
# Valid levels: HIGH, CONTROL_FLOW, INFERENCE, INFERENCE_FAILURE, UNDEFINED.

0 commit comments

Comments
 (0)