Skip to content
Snippets Groups Projects
Commit d265059a authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

black + isort => ruff

parent 9db68c1e
No related branches found
No related tags found
No related merge requests found
ci:
autoupdate_branch: devel
repos:
- repo: https://github.com/PyCQA/isort
rev: 5.13.2
hooks:
- id: isort
args:
- --profile
- black
- --project
- tsid
- --filter-files
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.6
hooks:
......@@ -18,6 +8,7 @@ repos:
args:
- --fix
- --exit-non-zero-on-fix
- id: format
- repo: https://github.com/cheshirekow/cmake-format-precommit
rev: v0.6.13
hooks:
......@@ -39,7 +30,3 @@ repos:
- id: check-symlinks
- id: check-toml
- id: check-yaml
- repo: https://github.com/psf/black
rev: 24.8.0
hooks:
- id: black
[tool.isort]
profile = "black"
[tool.ruff]
extend-exclude = ["cmake"]
[tool.ruff.lint]
extend-ignore = ["COM812", "D203", "D213"]
extend-select = ["A", "B", "C", "COM", "EM", "EXE", "G", "N", "NPY", "PTH", "RET", "RUF", "UP", "W", "YTT"]
[tool.tomlsort]
all = true
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment