-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
125 lines (111 loc) · 2.89 KB
/
pyproject.toml
File metadata and controls
125 lines (111 loc) · 2.89 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
[project]
name = "adventofcode"
version = "0.1.0"
description = "Advent of Code - Roel Adriaans"
authors = [{ name = "Roel Adriaans", email = "roel@adriaans.org" }]
requires-python = ">=3.14,<3.15"
license = "MIT"
dependencies = [
"anytree>=2.13.0,<3",
"click>=8.2.1,<9",
"requests>=2.32.5,<3",
"beautifulsoup4>=4.14.2,<5",
"tqdm>=4.67.1,<5",
"attrs>=25.3.0,<26",
"numpy>=2.4.1,<3",
"more-itertools>=10.8.0,<12",
"regex-spm>=1.0.0,<2",
"parse>=1.20.2,<2",
"matplotlib>=3.10.8,<4",
"adventofcodeutils",
]
[project.scripts]
adventofcode = "adventofcode.main:main"
[dependency-groups]
dev = [
"black>=25.12.0,<27",
"cookiecutter>=2.6.0,<3",
"pytest>=8.4.2,<10",
"pytest-cov>=7.0.0,<8",
"pytest-xdist>=3.8.0,<4",
"python-dotenv>=1.2.1,<2",
"tox>=4.53.0,<5",
"pre-commit>=4.5.1,<5",
"isort>=7.0.0,<9",
"flake8>=7.3.0",
"pep8-naming>=0.15.1",
"bandit>=1.9.2",
"tox-uv>=1.35.1",
]
[tool.uv]
[tool.uv.sources]
adventofcodeutils = { git = "https://github.com/RoelAdriaans/adventofcodeutils" }
[tool.hatch.build.targets.sdist]
include = [
"src/adventofcode",
"src/adventofcode2016",
"src/adventofcode2018",
"src/adventofcode2019",
"src/adventofcode2020",
"src/adventofcode2021",
"src/adventofcode2022",
"src/adventofcode2023",
"src/adventofcode2024",
"src/adventofcode2025",
"src/adventofcodedata",
]
[tool.hatch.build.targets.wheel]
include = [
"src/adventofcode",
"src/adventofcode2016",
"src/adventofcode2018",
"src/adventofcode2019",
"src/adventofcode2020",
"src/adventofcode2021",
"src/adventofcode2022",
"src/adventofcode2023",
"src/adventofcode2024",
"src/adventofcode2025",
"src/adventofcodedata",
]
[tool.hatch.build.targets.wheel.sources]
"src/adventofcode" = "adventofcode"
"src/adventofcode2016" = "adventofcode2016"
"src/adventofcode2018" = "adventofcode2018"
"src/adventofcode2019" = "adventofcode2019"
"src/adventofcode2020" = "adventofcode2020"
"src/adventofcode2021" = "adventofcode2021"
"src/adventofcode2022" = "adventofcode2022"
"src/adventofcode2023" = "adventofcode2023"
"src/adventofcode2024" = "adventofcode2024"
"src/adventofcode2025" = "adventofcode2025"
"src/adventofcodedata" = "adventofcodedata"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.bandit]
exclude_dirs = ["template"]
[tool.bandit.assert_used]
skips = ["*/*_test.py", "*/test_*.py"]
[tool.pytest.ini_options]
addopts = "--import-mode=importlib --cov --cov-report=term --cov-report=html --cov-report=xml --ignore=template -m 'not slow' --strict-markers"
testpaths = "tests"
filterwarnings = "error"
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')"
]
[tool.black]
force-exclude = '''
/(
\.git
| \.mypy_cache
| \.venv
| _build
| build
| dist
| template
)/
'''
[tool.isort]
extend_skip = ["template"]
profile = "black"