Skip to content

Commit c8b8c1e

Browse files
authored
Use ruff format (#1265)
1 parent 5ba8ce1 commit c8b8c1e

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

pyproject.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
[tool.black]
2-
line-length = 79
3-
target-version = ["py37"]
4-
51
[tool.ruff]
62
select = ['E', 'F', 'I', 'W', 'UP', 'RUF']
73
line-length = 79

tox.ini

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,11 @@ commands =
4444
[testenv:lint]
4545
basepython = python3
4646
deps =
47-
black
48-
ruff==0.0.284
47+
ruff
4948
skip_install = true
5049
commands =
51-
black --check .
5250
ruff .
51+
ruff format --check .
5352

5453
[testenv:py311-mypy]
5554
deps =

0 commit comments

Comments
 (0)