-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
64 lines (52 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
[tool.poetry]
name = "django-mountaineer"
version = "0.1.0"
description = ""
authors = ["Lee Edward Bound <[email protected]>"]
readme = "README.md"
packages = [
{ include = "django_mountaineer", from = "src" }
]
[tool.poetry.dependencies]
python = "^3.10"
mountaineer = "*"
django = "^5.0.0"
[tool.poetry.group.dev.dependencies]
mypy = "^1.8.0"
pytest = "^7.4.4"
ruff = "^0.1.14"
[tool.mypy]
warn_return_any = true
warn_unused_configs = true
check_untyped_defs = true
plugins = ["pydantic.mypy"]
[[tool.mypy.overrides]]
module = "example.*"
ignore_missing_imports = true
[tool.pydantic-mypy]
init_forbid_extra = true
init_typed = true
warn_required_dynamic_aliases = true
[tool.pyright]
exclude = ["**/example"]
[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]
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'"
[project]
name = "django_mountaineer"
version = "0.1.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
runserver = "example_django_mountaineer.frontend.cli:runserver"
watch = "example_django_mountaineer.frontend.cli:watch"
build = "example_django_mountaineer.frontend.cli:build"
createdb = "example_django_mountaineer.frontend.cli:createdb"