-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
108 lines (99 loc) · 1.97 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
[tool.poetry]
name = "aoc2015"
version = "1.0.0"
description = "Solutions to the 2015 Advent of Code"
authors = ["Matthew Wyant <[email protected]>"]
license = "GPL-3.0-plus"
# https://pypi.org/classifiers/
classifiers = [
"Development Status :: 5 - Production/Stable",
# "Development Status :: 6 - Mature",
# "Development Status :: 7 - Inactive",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Topic :: Software Development",
"Typing :: Typed",
]
[tool.pytest.ini_options]
python_files = [
"test_*.py", # default
"*_test.py", #default
"tests.py",
]
[tool.poetry.scripts]
aoc2015 = 'aoc2015.__main__:cli'
[tool.poetry.dependencies]
python = "^3.10"
click = "^8.1.3"
rich = "^13.4.2"
click-default-group = "^1.2.4"
[tool.poetry.group.dev.dependencies]
black = "^23.3.0"
mypy = "^1.3.0"
pytest = "^7.3.2"
ruff = "^0.0.272"
tox = "^4.6.0"
jinja2 = "^3.1.2"
advent-of-code-data = "^2.0.1"
aocd-example-parser = "^2023.2"
python-dotenv = "^1.0.0"
[tool.ruff]
select = [
"F",
"E",
"W",
"C90",
"I",
"N",
"D",
"UP",
"YTT",
"ANN",
"B",
"A",
"COM",
"C4",
"DTZ",
"ISC",
"ICN",
"INP",
"PIE",
"PT",
"RET",
"SIM",
"TID",
"ARG",
"PLC",
"PLE",
"PLR",
"PLW",
"RUF",
]
ignore = [
"D105",
"D107",
"D203",
"D212",
"UP006",
"UP007",
"ANN101",
"ANN102",
"D400",
"D406",
"D407",
"PLC1901",
"UP035",
]
unfixable = ["F401", "F841"]
# good-names-rgxs = ["^[a-z_][a-z]?"]
# no-docstring-rgx = "^_|[Tt]est|[Mm]ock"
[tool.ruff.per-file-ignores]
"test_*.py" = ["D103"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"