Skip to content

Commit 8889037

Browse files
authored
Merge pull request #113 from Okabe-Junya/junya/fix/pylintrc
2 parents e89f347 + 89e7aa1 commit 8889037

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

.pylintrc

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
[MAIN]
2+
ignore=.git,
3+
__pycache__,
4+
venv,
5+
.venv,
6+
7+
18
[MESSAGES CONTROL]
29
disable=
310
redefined-argument-from-local,
@@ -6,4 +13,4 @@ disable=
613
duplicate-code,
714
too-many-locals,
815
too-many-branches,
9-
line-too-long,
16+
line-too-long,

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ clean:
99
.PHONY: lint
1010
lint:
1111
# stop the build if there are Python syntax errors or undefined names
12-
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
12+
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --exclude=venv,.venv,.git,__pycache__
1313
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
14-
flake8 . --count --exit-zero --max-complexity=15 --max-line-length=127 --statistics
15-
pylint --rcfile=.pylintrc --fail-under=9.0 *.py
14+
flake8 . --count --exit-zero --max-complexity=15 --max-line-length=127 --statistics --exclude=venv,.venv,.git,__pycache__
15+
pylint --rcfile=.pylintrc --fail-under=9.0 *.py

0 commit comments

Comments
 (0)