Skip to content

Commit

Permalink
Move pylint config out of tox (#412)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Sassoulas committed Oct 30, 2023
1 parent 4511d2e commit 7237242
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
5 changes: 5 additions & 0 deletions pyproject.toml
Expand Up @@ -72,3 +72,8 @@ include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
line_length = 120

[tool.pylint.main]
disable = ["missing-docstring","too-many-branches","too-many-return-statements","too-many-ancestors","fixme"]
ignore="tests"
max-line-length = 120
5 changes: 2 additions & 3 deletions tox.ini
Expand Up @@ -19,7 +19,7 @@ requires =
commands =
django_not_installed: bash pylint_django/tests/test_django_not_installed.sh
flake8: flake8 pylint_django/
pylint: pylint --rcfile=tox.ini -d missing-docstring,too-many-branches,too-many-return-statements,too-many-ancestors,fixme --ignore=tests pylint_django
pylint: pylint pylint_django
readme: bash -c "poetry build && twine check dist/*"
py{37,38,39,310,311}-django{22,30,31,32,40,41,42}: bash scripts/test.sh --cov=pylint_django
clean: find . -type f -name '*.pyc' -delete
Expand Down Expand Up @@ -54,8 +54,7 @@ allowlist_externals =
[flake8]
max-line-length = 120

[pylint]
max-line-length = 120


[FORMAT]
max-line-length=120

0 comments on commit 7237242

Please sign in to comment.