Skip to content

Commit f1b6713

Browse files
DimitriPapadopoulosFrancescAlted
authored andcommitted
black/isort → ruff format
1 parent 731671b commit f1b6713

File tree

2 files changed

+4
-21
lines changed

2 files changed

+4
-21
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,7 @@
11
repos:
2-
- repo: https://github.com/pycqa/isort
3-
rev: '5.12.0'
4-
hooks:
5-
- id: isort
6-
exclude: blosc2/c-blosc2
7-
- repo: https://github.com/ambv/black
8-
rev: 23.1.0
9-
hooks:
10-
- id: black
11-
language_version: python3
12-
exclude: blosc2/c-blosc2
13-
- repo: https://github.com/charliermarsh/ruff-pre-commit
14-
# Ruff version.
15-
rev: 'v0.0.252'
2+
- repo: https://github.com/astral-sh/ruff-pre-commit
3+
rev: 'v0.1.7'
164
hooks:
175
- id: ruff
6+
- id: ruff-format
187
exclude: blosc2/c-blosc2

pyproject.toml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,6 @@ documentation = "https://www.blosc.org/python-blosc2/python-blosc2.html"
4747
[tool.cibuildwheel]
4848
skip = "cp36-* cp37-* pp37-* cp38-* pp38-* *-manylinux_i686 *_ppc64le *_s390x"
4949

50-
[tool.black]
51-
line-length = 109
52-
5350
[tool.ruff]
5451
line-length = 109
55-
56-
[tool.isort]
57-
profile = "black"
58-
multi_line_output = 3
52+
extend-select = ["I"]

0 commit comments

Comments
 (0)