mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Move ruff to 0.12.2 and fix new complaints
This commit is contained in:
parent
9e3e1325c0
commit
4dedf17958
21 changed files with 64 additions and 102 deletions
|
|
@ -96,7 +96,7 @@ dev = [
|
|||
"tox>=4.11.3",
|
||||
"invoke>=2.2.0",
|
||||
# ruff version should match the one in .pre-commit-config.yaml
|
||||
"ruff==0.7.2",
|
||||
"ruff==0.12.2",
|
||||
"tomli>=2.0.1; python_version < \"3.11\"",
|
||||
]
|
||||
|
||||
|
|
@ -112,7 +112,6 @@ source-includes = [
|
|||
requires = ["pdm-backend"]
|
||||
build-backend = "pdm.backend"
|
||||
|
||||
|
||||
[tool.ruff.lint]
|
||||
# see https://docs.astral.sh/ruff/configuration/#using-pyprojecttoml
|
||||
# "F" contains autoflake, see https://github.com/astral-sh/ruff/issues/1647
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue