-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
101 lines (93 loc) · 2.4 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
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "incant"
authors = [{name = "Tin Tvrtkovic", email = "[email protected]"}]
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Typing :: Typed",
]
requires-python = ">=3.8"
description = "Magical function composition"
readme = "README.md"
dependencies = ["attrs>=20.1.0"]
license = {file = "LICENSE"}
dynamic = ["version"]
[project.urls]
Home = "https://github.com/Tinche/incant"
[tool.pdm.dev-dependencies]
test = [
"cattrs>=22.2.0",
"coverage>=7.0.1",
"httpx>=0.23.1",
"pytest-asyncio>=0.20.3",
"pytest>=7.2.0",
"quart>=0.18.3",
"quattro>=0.3", # For 3.8
"rich>=12.6.0",
"structlog>=22.3.0",
"uvicorn>=0.20.0",
]
lint = [
"black>=23.3.0",
"ruff>=0.0.272",
"mypy>=0.991",
]
docs = [
"sphinx",
"furo",
"myst_parser",
"sphinx_inline_tabs",
"pyyaml>=6.0.1",
"sphinx-copybutton>=0.5.2",
]
[tool.pytest.ini_options]
asyncio_mode = "auto"
[tool.mypy]
warn_unused_ignores = true
warn_redundant_casts = true
[tool.coverage.run]
parallel = true
source_pkgs = ["incant"]
[tool.ruff.lint]
select = [
"E", # pycodestyle
"W", # pycodestyle
"F", # Pyflakes
"UP", # pyupgrade
"N", # pep8-naming
"YTT", # flake8-2020
"S", # flake8-bandit
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"T10", # flake8-debugger
"ISC", # flake8-implicit-str-concat
"RET", # flake8-return
"SIM", # flake8-simplify
"DTZ", # flake8-datetimez
"PGH", # pygrep-hooks
"PLC", # Pylint
"PIE", # flake8-pie
"RUF", # ruff
"ARG", # flake8-unused-arguments
"I", # isort
]
ignore = [
"E501", # line length is handled by black
"S101", # assert
"S307", # Eval
"PGH003", # leave my type: ignores alone
"B008", # can't get it to work with extend-immutable-calls
]
[tool.hatch.version]
source = "vcs"
raw-options = { local_scheme = "no-local-version" }