Skip to content
Closed
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
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ repos:
args: [--fix=lf]
- id: debug-statements
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.14.10"
rev: "v0.15.0"
hooks:
- id: ruff-check
args: ["--fix"]
Expand All @@ -20,7 +20,7 @@ repos:
exclude: *functional
args: [--line-length=120]
- repo: https://github.com/tox-dev/pyproject-fmt
rev: "v2.11.1"
rev: "v2.15.0"
hooks:
- id: pyproject-fmt
# https://pyproject-fmt.readthedocs.io/en/latest/#calculating-max-supported-python-version
Expand Down
43 changes: 18 additions & 25 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[build-system]
build-backend = "poetry.core.masonry.api"

requires = [ "poetry-core>=1" ]

[tool.poetry]
Expand Down Expand Up @@ -43,26 +42,20 @@ packages = [
]
include = [ "pylint_django/LICENSE" ]
exclude = [ "**/tests/**", "**/testutils.py", "**/tests.py" ]

[tool.poetry.dependencies]
python = ">=3.9,<4.0"
pylint-plugin-utils = ">=0.8"
pylint = ">=3.0,<5"
Django = { version = ">=2.2", optional = true }

[tool.poetry.group.dev.dependencies]
tox = ">=4.9"
pytest = "^7.3.1"
ruff = ">=0.6.9"
wheel = "^0.40"
pytest-cov = "^4"
django-tables2 = "^2.6"
factory-boy = "^3.3"
django-tastypie = "^0.14"
pre-commit = ">=1"

[tool.poetry.extras]
with_django = [ "Django" ]
dependencies.python = ">=3.9,<4.0"
dependencies.pylint-plugin-utils = ">=0.8"
dependencies.pylint = ">=3.0,<5"
dependencies.Django = { version = ">=2.2", optional = true }
extras.with_django = [ "Django" ]
group.dev.dependencies.tox = ">=4.9"
group.dev.dependencies.pytest = "^7.3.1"
group.dev.dependencies.ruff = ">=0.6.9"
group.dev.dependencies.wheel = "^0.40"
group.dev.dependencies.pytest-cov = "^4"
group.dev.dependencies.django-tables2 = "^2.6"
group.dev.dependencies.factory-boy = "^3.3"
group.dev.dependencies.django-tastypie = "^0.14"
group.dev.dependencies.pre-commit = ">=1"

[tool.black]
line-length = 120
Expand Down Expand Up @@ -103,17 +96,17 @@ force_grid_wrap = 0
use_parentheses = true
line_length = 120

[tool.pylint.main]
disable = [
[tool.pylint]
main.disable = [
"missing-docstring",
"too-many-branches",
"too-many-return-statements",
"too-many-ancestors",
"too-few-public-methods",
"fixme",
]
ignore = "tests"
max-line-length = 120
main.ignore = "tests"
main.max-line-length = 120

[tool.codespell]
ignore-words = [ "custom_dict.txt" ]
Loading