-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
82 lines (71 loc) · 1.89 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
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
[tool.poetry]
name = "adventofcode"
version = "0.1.0"
description = "Advent of Code - Roel Adriaans"
authors = ["Roel Adriaans <roel@adriaans.org>"]
license = "MIT"
packages = [
{ include = "adventofcode", from="src" },
{ include = "adventofcode2016", from="src" },
{ include = "adventofcode2018", from="src" },
{ include = "adventofcode2019", from="src" },
{ include = "adventofcode2020", from="src" },
{ include = "adventofcode2021", from="src" },
{ include = "adventofcode2022", from="src" },
{ include = "adventofcode2023", from="src" },
{ include = "adventofcode2024", from="src" },
{ include = "adventofcodedata", from="src" }
]
[tool.poetry.dependencies]
python = "^3.12"
anytree = "^2.12.1"
click = "^8.1.8"
requests = "^2.32.3"
beautifulsoup4 = "^4.12.3"
tqdm = "^4.67.1"
attrs = "^25.1.0"
numpy = "^2.2.2"
adventofcodeutils = {git = "https://github.com/RoelAdriaans/adventofcodeutils.git"}
more-itertools = "^10.6.0"
regex-spm = "^1.0.0"
parse = "^1.20.2"
matplotlib = "^3.10.0"
[tool.poetry.dev-dependencies]
black = "^25.1.0"
cookiecutter = "^2.6.0"
pytest = "^8.3.4"
pytest-cov = "^6.0.0"
pytest-xdist = "^3.6.1"
python-dotenv = "^1.0.1"
tox = "^4.24.1"
pre-commit = "^4.1.0"
isort = "^6.0.0"
[tool.poetry.scripts]
adventofcode = "adventofcode.main:main"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[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"
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"