diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index ced26fb..0ce1f05 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -20,4 +20,5 @@ jobs: pip install pylint - name: Analysing the code with pylint run: | - pylint $(git ls-files '*.py') + # pylint $(git ls-files '*.py') + pylint --disable=all --enable=F,E $(git ls-files '*.py') diff --git a/.pylintrc b/.pylintrc index 67fee63..916d9ca 100644 --- a/.pylintrc +++ b/.pylintrc @@ -6,6 +6,8 @@ ignore=tests.py, urls.py, migrations #django-settings-module=mysite.settings [MESSAGES CONTROL] +; disable=all +; enable=F,E # C0111 Missing docstring # C0114(missing-module-docstring) Missing module docstring # I0011 Warning locally suppressed using disable-msg @@ -54,6 +56,8 @@ disable=raw-checker-failed, [REPORTS] +; output-format=text +; msg-template={msg_id}: {msg} ({symbol}) at {path}:{line} msg-template={path}:{line}: [{msg_id}({symbol}), {obj}] {msg} [BASIC]