-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathruff.toml
More file actions
30 lines (24 loc) · 780 Bytes
/
ruff.toml
File metadata and controls
30 lines (24 loc) · 780 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Ruff configuration for async-python-cassandra-client
line-length = 100
target-version = "py312"
[lint]
select = [
"E", # pycodestyle errors
"F", # pyflakes
"W", # pycodestyle warnings
# "I", # isort - disabled to avoid conflicts with isort pre-commit hook
"N", # pep8-naming
]
ignore = [
"E203", # Whitespace before ':' (conflicts with black)
"E501", # Line too long (handled by formatter)
"E701", # Multiple statements on one line (conflicts with black)
"E702", # Multiple statements on one line (conflicts with black)
]
[lint.per-file-ignores]
"tests/*" = ["S101", "B011"] # Allow assert and Exception in tests
[lint.isort]
known-first-party = ["async_cassandra"]
[format]
quote-style = "double"
indent-style = "space"