Skip to content

Commit 07a2ea1

Browse files
committed
add configuration pylint
1 parent f5f872e commit 07a2ea1

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/pylint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ jobs:
2121
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
2222
- name: Analysing the code with pylint and flake8
2323
run: |
24-
pylint $(git ls-files '*.py')
24+
pylint --ignore=R0913,R0903,C0103 $(git ls-files '*.py')
2525
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
2626
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics

.pylintrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[MAIN]
2+
3+
disable=
4+
too-many-arguments,
5+
too-few-public-methods,
6+
invalid-name

0 commit comments

Comments
 (0)