-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
51 lines (44 loc) · 1.16 KB
/
pyproject.toml
File metadata and controls
51 lines (44 loc) · 1.16 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
[project]
name = "advent-of-code-python"
version = "0.0.1"
authors = [
{ name="James Lawlor", email="jameslawlor1987@gmail.com" },
]
description = "Code for Advent of Code 2023"
readme = "README.md"
requires-python = ">=3.12,<4"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"numpy==1.26.2",
"pytest==7.4.3",
"ruff>=0.14.8",
"setuptools==68.2.2",
"uv>=0.9.16",
]
[project.urls]
Homepage = "https://github.com/jameslawlor/advent-of-code-python"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/advent_of_code"]
[tool.pytest.ini_options]
pythonpath = "src"
addopts = [
"--import-mode=importlib",
]
[tool.black]
line-length = 88
target-version = ['py312']
[tool.ruff]
line-length = 88
target-version = "py312"
exclude = ["__pycache__", ".venv", "build", "dist"]
lint.select = ["E", "F", "W", "C", "B", "I"]
[project.scripts]
# Console script for running day solutions: after `pip install -e .` you can run `aoc --year 2025 --day 1`
aoc = "advent_of_code.cli:main"