-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
76 lines (65 loc) · 1.63 KB
/
pyproject.toml
File metadata and controls
76 lines (65 loc) · 1.63 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
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
[project]
name = "iceaxe"
version = "0.1.0"
description = "A modern, fast ORM for Python."
readme = "README.md"
authors = [{ name = "Pierce Freeman", email = "pierce@freeman.vc" }]
requires-python = ">=3.11"
dependencies = [
"asyncpg>=0.30,<1",
"click>=8",
"pydantic>=2,<3",
"rich>=13",
]
[dependency-groups]
dev = [
"docker>=7.1.0",
"mountaineer>=0.8.0",
"mypy>=1.15.0",
"pydantic>=2,<2.11",
"pyinstrument>=5.0.1",
"pyright>=1.1.396",
"pytest>=8.3.5",
"pytest-asyncio>=0.25.3",
"ruff>=0.11.0",
]
[build-system]
requires = ["setuptools>=61", "cython>=3.0.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
include = ["iceaxe", "iceaxe.*"]
[tool.cython-build]
packages = ["iceaxe"]
include = ["iceaxe/*.pyx"]
[tool.pyright]
venvPath = "."
venv = ".venv"
[tool.mypy]
warn_return_any = true
warn_unused_configs = true
check_untyped_defs = true
plugins = ["pydantic.mypy"]
[[tool.mypy.overrides]]
module = "asyncpg.*"
ignore_missing_imports = true
[tool.pydantic-mypy]
init_forbid_extra = true
init_typed = true
warn_required_dynamic_aliases = true
[tool.ruff.lint]
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
# Disable print statements
select = ["E4", "E7", "E9", "F", "I001", "T201"]
[tool.ruff.lint.isort]
section-order = [
"future",
"standard-library",
"third-party",
"first-party",
"local-folder",
]
combine-as-imports = true
[tool.pytest.ini_options]
markers = ["integration_tests: run longer-running integration tests"]
# Default pytest runs shouldn't execute the integration tests
addopts = "-m 'not integration_tests'"