Skip to content

Commit 68c87dd

Browse files
committed
⚡ Fix: Added ruff rules
1 parent d157068 commit 68c87dd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ license = {text = "MIT"}
2020
[tool.pdm.scripts]
2121
start = "uvicorn src.paste.main:app --host 0.0.0.0 --port 8080 --workers 4"
2222
test = "pytest"
23+
mypy = "mypy src/paste"
2324

2425
[tool.pdm.dev-dependencies]
2526
test = [
@@ -33,3 +34,7 @@ lint = [
3334
hooks = [
3435
"pre-commit>=3.6.0",
3536
]
37+
38+
[tool.ruff]
39+
line-length = 160
40+
exclude = ["data/*", ".git"]

0 commit comments

Comments
 (0)