-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
95 lines (84 loc) · 1.68 KB
/
pyproject.toml
File metadata and controls
95 lines (84 loc) · 1.68 KB
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "paperscout"
version = "0.1.0"
description = "WG21 C++ paper tracker with ISO draft probing and Slack notifications"
license = "BSL-1.0"
license-files = ["LICENSE"]
requires-python = ">=3.10"
dependencies = [
"slack-bolt",
"httpx[http2]",
"pydantic-settings",
"psycopg2-binary",
"pymupdf",
]
[project.optional-dependencies]
dev = [
"pytest",
"pytest-asyncio",
"pytest-cov",
"pytest-benchmark",
"pre-commit",
"ruff",
"mypy",
]
[tool.hatch.build.targets.wheel]
packages = ["src/paperscout"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
markers = [
"benchmark: ISO probe cycle performance regression (run: pytest benchmarks/ -m benchmark)",
]
[tool.coverage.run]
source = ["paperscout"]
omit = ["*/paperscout/__main__.py"]
[tool.coverage.report]
show_missing = true
exclude_lines = [
"pragma: no cover",
"if __name__ == .__main__.:",
"raise NotImplementedError",
]
[tool.ruff]
target-version = "py310"
line-length = 100
src = ["src", "tests"]
[tool.ruff.lint]
select = [
"E",
"W",
"F",
"I",
"B",
"UP",
]
ignore = [
"E501",
]
[tool.ruff.format]
quote-style = "double"
[tool.mypy]
python_version = "3.10"
strict = false
warn_unused_ignores = true
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false
check_untyped_defs = true
no_implicit_optional = true
show_error_codes = true
plugins = ["pydantic.mypy"]
[[tool.mypy.overrides]]
module = [
"slack_bolt.*",
"slack_sdk.*",
"httpx.*",
"httpcore.*",
"psycopg2.*",
"fitz.*",
]
ignore_missing_imports = true