diff --git a/.github/workflows/.pylintrc b/.github/workflows/.pylintrc new file mode 100644 index 00000000..cbe597c6 --- /dev/null +++ b/.github/workflows/.pylintrc @@ -0,0 +1,25 @@ +[MASTER] +load-plugins=pylint_django +django-settings-module=ft_transcendence.settings + +[MESSAGES CONTROL] +disable=missing-docstring, + import-error, + invalid-name, + too-few-public-methods + +[FORMAT] +max-line-length=120 + +[DESIGN] +max-parents=13 + +[TYPECHECK] +ignored-modules=django.contrib.admin + +[REPORTS] +output-format=colorized +reports=no + +[BASIC] +good-names=i,j,k,ex,pk,Run,_ \ No newline at end of file diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index d65cf113..bba55382 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -20,4 +20,4 @@ jobs: pip install pylint - name: Analysing the code with pylint run: | - pylint $(git ls-files '*.py') --disable=C0103,W0613 + pylint $(git ls-files '*.py') --rcfile=.pylintrc