From 63f4e146efe2e7e190be83ba8e9a569b95c63577 Mon Sep 17 00:00:00 2001 From: Junya Okabe Date: Mon, 11 Sep 2023 00:53:57 +0900 Subject: [PATCH 1/2] update .pylintrc: ignore venv... --- .pylintrc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.pylintrc b/.pylintrc index df959dd..a6db1df 100644 --- a/.pylintrc +++ b/.pylintrc @@ -1,3 +1,10 @@ +[MAIN] +ignore=.git, + __pycache__, + venv, + .venv, + + [MESSAGES CONTROL] disable= redefined-argument-from-local, @@ -6,4 +13,4 @@ disable= duplicate-code, too-many-locals, too-many-branches, - line-too-long, \ No newline at end of file + line-too-long, From 89e7aa1630b594ab30f455f93cdaf577442c58db Mon Sep 17 00:00:00 2001 From: Junya Okabe Date: Mon, 11 Sep 2023 00:54:16 +0900 Subject: [PATCH 2/2] update: Makefile: ignore venv... --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index c1a51df..0437bed 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ clean: .PHONY: lint lint: # stop the build if there are Python syntax errors or undefined names - flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics + flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --exclude=venv,.venv,.git,__pycache__ # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide - flake8 . --count --exit-zero --max-complexity=15 --max-line-length=127 --statistics - pylint --rcfile=.pylintrc --fail-under=9.0 *.py \ No newline at end of file + flake8 . --count --exit-zero --max-complexity=15 --max-line-length=127 --statistics --exclude=venv,.venv,.git,__pycache__ + pylint --rcfile=.pylintrc --fail-under=9.0 *.py