-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
44 lines (35 loc) · 962 Bytes
/
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
[project]
name = "aoc-2024"
version = "0.1.0"
description = "Solutions for Advent of Code 2024"
readme = "README.md"
authors = [{ name = "Emanuel Ferm", email = "emanuel@eferm.com" }]
requires-python = ">=3.12"
dependencies = ["requests>=2.32.3"]
[project.scripts]
bootstrap = "src.utils:cli"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[dependency-groups]
dev = ["mypy>=1.13.0", "ruff>=0.8.1", "types-requests>=2.32.0.20241016"]
[tool.hatch.build.targets.wheel]
packages = ["src"]
[tool.ruff]
line-length = 79
namespace-packages = ["src"]
[tool.ruff.lint]
select = ["ALL"]
ignore = ["D", "E741", "PLR2004", "PYI042", "T20"]
[tool.ruff.lint.isort]
lines-after-imports = 2
[tool.mypy]
strict = true
namespace_packages = true
explicit_package_bases = true
mypy_path = "$MYPY_CONFIG_FILE_DIR"
disallow_incomplete_defs = false
disallow_untyped_defs = false
[tool.pyright]
typeCheckingMode = "strict"
reportArgumentType = false