mirror of
https://github.com/django-polymorphic/django-polymorphic.git
synced 2026-01-12 19:15:53 +03:00
Merge pull request #649 from akx/modern-lint
Update pre-commit tools, fix ruff configuration so it doesn't warn
This commit is contained in:
commit
350d3ffea1
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
|
@ -15,5 +15,5 @@ jobs:
|
|||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.11"
|
||||
python-version: "3.13"
|
||||
- uses: pre-commit/action@v3.0.1
|
||||
|
|
|
|||
|
|
@ -8,6 +8,8 @@ requires = [
|
|||
[tool.ruff]
|
||||
line-length = 99
|
||||
|
||||
|
||||
[tool.ruff.lint]
|
||||
extend-ignore = [
|
||||
"E501",
|
||||
]
|
||||
|
|
@ -18,7 +20,7 @@ select = [
|
|||
"W",
|
||||
]
|
||||
|
||||
[tool.ruff.per-file-ignores]
|
||||
[tool.ruff.lint.per-file-ignores]
|
||||
"example/**" = [
|
||||
"F401",
|
||||
"F403",
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user