Skip to content

Commit 2701922

Browse files
committedJun 22, 2024
Adjust ruff config
1 parent b0b6cbb commit 2701922

File tree

3 files changed

+29
-2
lines changed

3 files changed

+29
-2
lines changed
 

‎.pre-commit-config.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ repos:
1313
rev: v0.4.7
1414
hooks:
1515
- id: ruff
16+
args: [--fix]
1617
- id: ruff-format

‎poetry.lock

+27-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ pytest-asyncio = "^0.23.7"
2020
pytest = "^8.2.1"
2121
respx = "^0.21.1"
2222
pre-commit = "^3.7.1"
23+
ruff = "^0.4.10"
2324

2425
[build-system]
2526
requires = ["poetry-core>=1.0.0"]
@@ -31,7 +32,6 @@ asyncio_mode = "auto"
3132
[tool.ruff]
3233
line-length = 88
3334
src = ["src"]
34-
fix = true
3535

3636
[tool.ruff.lint]
3737
select = ["E", "F", "I", "C90", "B", "N", "D", "ANN", "TRY", "PD", "RUF200", "UP"]

0 commit comments

Comments
 (0)