mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-25 02:24:26 +00:00
update ruff config
Co-authored-by: Bartuccio Antoine <klmp200@users.noreply.github.com>
This commit is contained in:
parent
9f1eedbe1b
commit
efe5d75798
@ -1,7 +1,7 @@
|
|||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||||
# Ruff version.
|
# Ruff version.
|
||||||
rev: v0.4.10
|
rev: v0.5.1
|
||||||
hooks:
|
hooks:
|
||||||
- id: ruff # just check the code, and print the errors
|
- id: ruff # just check the code, and print the errors
|
||||||
- id: ruff # actually fix the fixable errors, but print nothing
|
- id: ruff # actually fix the fixable errors, but print nothing
|
||||||
|
@ -69,6 +69,9 @@ optional = true
|
|||||||
[tool.xapian]
|
[tool.xapian]
|
||||||
version = "1.4.25"
|
version = "1.4.25"
|
||||||
|
|
||||||
|
[tool.ruff]
|
||||||
|
output-format = "concise" # makes ruff error logs easier to read
|
||||||
|
|
||||||
[tool.ruff.lint]
|
[tool.ruff.lint]
|
||||||
select = [
|
select = [
|
||||||
"A", # shadowing of Python builtins
|
"A", # shadowing of Python builtins
|
||||||
|
Loading…
Reference in New Issue
Block a user