Skip to content

Commit

Permalink
Use ruff format
Browse files Browse the repository at this point in the history
  • Loading branch information
alex committed Oct 27, 2023
1 parent 5ba8ce1 commit 9700dc0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
4 changes: 0 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
[tool.black]
line-length = 79
target-version = ["py37"]

[tool.ruff]
select = ['E', 'F', 'I', 'W', 'UP', 'RUF']
line-length = 79
Expand Down
5 changes: 2 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,11 @@ commands =
[testenv:lint]
basepython = python3
deps =
black
ruff==0.0.284
ruff
skip_install = true
commands =
black --check .
ruff .
ruff format --check .

[testenv:py311-mypy]
deps =
Expand Down

0 comments on commit 9700dc0

Please sign in to comment.