-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
26 lines (22 loc) · 926 Bytes
/
Copy pathpyproject.toml
File metadata and controls
26 lines (22 loc) · 926 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
# Tooling configuration only -- PulseStream is run as scripts, not installed
# as a package, so there is no [project] section.
[tool.ruff]
target-version = "py311"
line-length = 100
exclude = [".venv", ".local_sink"]
[tool.ruff.lint]
# Defaults (E, F) plus import sorting and a few bug-catching rules.
select = ["E", "F", "I", "B", "UP"]
ignore = [
"E501", # line length is handled by the formatter, not enforced here
"B008", # false positives on dataclass field(default_factory=...)
"UP017", # codebase consistently uses timezone.utc, not the datetime.UTC alias
]
[tool.ruff.lint.per-file-ignores]
# Tests reach into module internals on purpose.
"tests/*" = ["E402"]
[tool.pytest.ini_options]
testpaths = ["tests"]
# Quiet the noisy pipeline loggers; tests assert on behaviour, not log output.
log_cli = false
filterwarnings = ["error::DeprecationWarning:consumer", "error::DeprecationWarning:producer"]