Skip to content

Commit 9615486

Browse files
committed
add ruff config
1 parent ed55b18 commit 9615486

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pyproject.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,9 @@ ruff = "ruff check"
2727
lint = ["mypy", "ruff"]
2828
format-check = "ruff format --check"
2929
format = "ruff format"
30+
31+
[tool.ruff]
32+
exclude = [".venv", ".git", "__pycache__", "build", "dist", "venv"]
33+
line-length = 79
34+
target-version = "py39"
35+
src = ["ydb_dbapi", "tests"]

0 commit comments

Comments
 (0)