-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
31 lines (26 loc) · 811 Bytes
/
Copy pathpyproject.toml
File metadata and controls
31 lines (26 loc) · 811 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
31
[project]
name = "sql-performance"
version = "1.0.0"
description = "Benchmark toolkit for common SQL performance patterns on PostgreSQL"
requires-python = ">=3.11"
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-v --tb=short"
timeout = 300
[tool.coverage.run]
source = ["app", "benchmarks", "sql"]
omit = ["tests/*"]
[tool.coverage.report]
show_missing = true
fail_under = 65
[tool.ruff]
line-length = 100
exclude = [".venv", "results"]
[tool.ruff.lint]
select = ["E", "F", "I", "B", "UP"]
# Matplotlib needs its backend set before pyplot-adjacent imports, so the
# benchmark modules import after a module-level matplotlib.use("Agg").
ignore = [
"E402", # matplotlib.use("Agg") must run before the backend imports
"B027", # teardown() is an optional hook, deliberately not abstract
]