-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
69 lines (57 loc) · 1.52 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
[tool.poetry]
name = "iceaxe"
version = "0.1.0"
description = "A modern, fast ORM for Python."
authors = ["Pierce Freeman <[email protected]>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.11"
asyncpg = "^0.30.0"
pydantic = "^2.9.2"
rich = "^13.9.2"
[tool.poetry.group.dev.dependencies]
pytest = "^8.3.3"
pytest-asyncio = "^0.24.0"
ruff = "^0.6.9"
mypy = "^1.11.2"
pyright = "^1.1.383"
mountaineer = "^0.6.0"
pyinstrument = "^4.7.3"
[build-system]
requires = ["poetry-core>=1.0.0", "cython>=3.0.0", "setuptools>=71.1.0"]
build-backend = "poetry.core.masonry.api"
[tool.cython-build]
packages = ["iceaxe"]
include = ["iceaxe/*.pyx"]
[tool.poetry.build]
script = "build.py"
generate-setup-file = 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'"
[tool.mypy]
warn_return_any = true
warn_unused_configs = true
check_untyped_defs = true
plugins = ["pydantic.mypy"]
[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.mypy.overrides]]
module = "asyncpg.*"
ignore_missing_imports = true