-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathpyproject.toml
50 lines (40 loc) · 1.17 KB
/
pyproject.toml
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
[tool.poetry]
name = "adventofcode"
version = "1.10.0"
description = "A collection of Advent of Code solutions"
authors = ["Marcel Blijleven <marcelblijleven@gmail.com>"]
license = "MIT"
readme = "README.md"
[tool.poetry.dependencies]
python = ">=3.11"
rich = "^13.9.4"
[tool.poetry.group.dev.dependencies]
httpx = "^0.28.0"
coverage = { extras = ["toml"], version = "^7.6.8" }
pytest = "^8.3.4"
pytest-cov = "^6.0.0"
pytest-mock = "^3.14.0"
ruff = "^0.8.1"
mypy = "^1.13.0"
commitizen = "^4.0.0"
[tool.ruff.lint.isort]
known-first-party = ["adventofcode"]
[tool.ruff.lint.flake8-tidy-imports]
ban-relative-imports = "all"
[tool.coverage.run]
source_pkgs = ["adventofcode", "tests"]
branch = true
parallel = true
omit = ["src/adventofcode/__about__.py"]
[tool.coverage.paths]
adventofcode = ["src/adventofcode", "*/adventofcode/arc/adventofcode"]
tests = ["tests", "*/adventofcode/tests"]
[tool.coverage.report]
exclude_lines = ["no cov", "if __name__ == __main__:", "if TYPE_CHECKING:"]
[tool.commitizen]
tag_format = "v$version"
version = "2.0.0"
version_files = ["src/adventofcode/__about__.py"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"