Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move pylint config out of tox into pyproject.toml directly #412

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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