mirror of
https://github.com/Bing-su/adetailer.git
synced 2026-01-26 19:29:54 +00:00
chore: update pre-commit, ruff
This commit is contained in:
@@ -12,8 +12,8 @@ repos:
|
||||
hooks:
|
||||
- id: isort
|
||||
|
||||
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
||||
rev: "v0.0.270"
|
||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||
rev: "v0.0.272"
|
||||
hooks:
|
||||
- id: ruff
|
||||
args: [--fix, --exit-non-zero-on-fix]
|
||||
|
||||
@@ -16,7 +16,7 @@ profile = "black"
|
||||
known_first_party = ["launch", "modules"]
|
||||
|
||||
[tool.ruff]
|
||||
select = ["A", "B", "C4", "E", "F", "I001", "ISC", "N", "PIE", "PT", "RET", "SIM", "UP", "W"]
|
||||
select = ["A", "B", "C4", "C90", "COM", "E", "EM", "F", "FA", "I001", "ISC", "N", "PIE", "PT", "RET", "RUF", "SIM", "UP", "W"]
|
||||
ignore = ["B008", "B905", "E501", "F401", "UP007"]
|
||||
|
||||
[tool.ruff.isort]
|
||||
|
||||
Reference in New Issue
Block a user