-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
61 lines (50 loc) · 1.33 KB
/
Copy pathpyproject.toml
File metadata and controls
61 lines (50 loc) · 1.33 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
# C:\Users\Nathaniel\PycharmProjects\Python-Boilerplate\pyproject.toml
[tool.poetry]
name = "blitzableiter"
version = "0.1.0"
description = "Geo-filtered blitzer.de/atudo alerting service with multi-channel notifications."
authors = ["Nathaniel <hartmannlight@gmail.com>"]
readme = "README.md"
packages = [{ include = "app", from = "src" }]
[tool.poetry.dependencies]
python = "^3.11"
prometheus-client = "^0.23.0"
python-dotenv = "^1.0.1"
pyyaml = "^6.0.2"
psycopg = {version = ">=3.2,<4.0", extras = ["binary"]}
[tool.poetry.group.dev.dependencies]
ruff = "^0.7.1"
mypy = "^1.11.2"
pytest = "^8.3.0"
coverage = "^7.6.0"
pre-commit = "^4.0.1"
pyperclip = "^1.9.0"
types-PyYAML = "^6.0.12.20240808"
[tool.poetry.scripts]
app-sync = "app.main_sync:main"
app-health = "app.health:main"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.format]
quote-style = "single"
line-ending = "lf"
[tool.ruff.lint]
select = ["E", "F", "I", "B", "UP"]
[tool.mypy]
python_version = "3.11"
strict = true
mypy_path = ["typings"]
ignore_missing_imports = false
warn_unused_ignores = true
warn_unreachable = true
[tool.pytest.ini_options]
cache_dir = ".test-work/pytest_cache"
[tool.coverage.run]
branch = true
source = ["app"]
[tool.coverage.report]
show_missing = true