-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
89 lines (70 loc) · 1.42 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
83
84
85
86
87
88
89
[tool.poetry]
name = "aoc"
version = "0.1.0"
description = "Solved challenges from AoC 2023"
authors = ["Omar Valdez <80359343+ValdezFOmar@users.noreply.github.com>"]
license = "GPL-3.0-only"
readme = "README.md"
repository = "https://github.com/ValdezFOmar/advent-of-code-2023"
packages = [
{ include = "aoc" },
{ include = "utils" }
]
[tool.poetry.scripts]
genday = "aoc.tools.genday:main"
[tool.poetry.dependencies]
python = "^3.11"
regex = "^2023.10.3"
[tool.poetry.group.dev.dependencies]
pytest = "^7.4.3"
pylint = "^3.0.2"
black = "^23.12.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pyright]
reportConstantRedefinition = true
# reportPrivateUsage = true
[tool.black]
line-length = 100
target-version = ["py311"]
include = '''
(
\.pyi?$
|aoc/
|utils/
)
'''
extend-exclude = '''
(
\.txt$
)
'''
[tool.pytest.ini_options]
addopts = "--ignore=./aoc/tools/_day_template/"
testpaths = [
"aoc",
"utils"
]
[tool.pylint.main]
ignore-paths = [
"aoc/tools/_day_template/*",
".venv/",
"venv/",
".pytest_cache/",
".git/",
]
recursive = "yes"
[tool.pylint.basic]
good-names = ["TEST_OUTPUT"]
[tool.pylint.messages_control]
disable = [
"missing-module-docstring",
"missing-function-docstring",
"missing-class-docstring",
"redefined-builtin",
]
[tool.pylint.format]
max-line-length = 100
[tool.pylint.design]
max-returns = 8