mirror of
https://github.com/ONLYOFFICE/document-server-integration.git
synced 2026-02-10 18:05:10 +08:00
removed pylint
This commit is contained in:
6
.github/workflows/lint-python.yml
vendored
6
.github/workflows/lint-python.yml
vendored
@ -27,14 +27,10 @@ jobs:
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install flake8
|
||||
pip install pylint
|
||||
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
||||
|
||||
- name: Lint Flake8
|
||||
run: |
|
||||
flake8 --count --select=E9,F63,F7,F82 --show-source --statistics
|
||||
flake8 --count --max-complexity=15 --max-line-length=120 --per-file-ignores="__init__.py:F4" --statistics
|
||||
|
||||
- name: Lint Pylint
|
||||
run: |
|
||||
pylint ./**/*.py --rcfile=.pylintrc --disable=import-error
|
||||
|
||||
|
||||
@ -1,34 +0,0 @@
|
||||
[MAIN]
|
||||
disable=C0114, # missing-module-docstring
|
||||
C0115, # missing-class-docstring
|
||||
C0116, # missing-function-docstring
|
||||
E0611, # no-name-in-module
|
||||
R0902, # too-many-instance-attributes
|
||||
R0913, # too-many-arguments
|
||||
R0914, # too-many-locals
|
||||
W1514, # unspecified-encoding
|
||||
R1710, # inconsistent-return-statements
|
||||
R1732, # consider-using-with
|
||||
|
||||
[FORMAT]
|
||||
max-line-length=120
|
||||
|
||||
[BASIC]
|
||||
argument-naming-style=any
|
||||
attr-naming-style=any
|
||||
function-naming-style=any
|
||||
module-naming-style=any
|
||||
variable-naming-style=any
|
||||
|
||||
[DESIGN]
|
||||
# max-args=
|
||||
# max-attributes=
|
||||
max-branches=15
|
||||
# max-locals=
|
||||
min-public-methods=0
|
||||
|
||||
[EXCEPTIONS]
|
||||
overgeneral-exceptions = builtins.[]
|
||||
|
||||
[MISCELLANEOUS]
|
||||
notes = ["FIXME", "XXX"]
|
||||
Reference in New Issue
Block a user