generated from topsport-com-au/python-docker-project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
50 lines (41 loc) · 1001 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
45
46
47
48
49
50
[tool.isort]
profile = "black"
overwrite_in_place = true
[tool.coverage.report]
show_missing = true
exclude_lines = ["if tp.TYPE_CHECKING", "pragma: no cover"]
[tool.coverage.run]
omit = ["tests/*"]
[tool.mypy]
check_untyped_defs = true
disallow_incomplete_defs = true
disallow_untyped_defs = true
ignore_missing_imports = false
show_error_codes = true
warn_redundant_casts = true
warn_return_any = true
warn_unused_ignores = true
[tool.pytest.ini_options]
addopts = "--cov=app"
[tool.poetry]
name = "python-docker-project"
version = "0.1.0"
description = "Template Python Docker Project"
authors = ["Peter Schutt <[email protected]>"]
packages = [
{ include = "app", from = "src" },
]
[tool.poetry.dependencies]
python = "^3.10"
[tool.poetry.dev-dependencies]
black = "*"
flake8 = "*"
isort = "*"
mypy = "*"
pytest = "^7.0.1"
pytest-cov = "^3.0.0"
[tool.poetry.scripts]
app = "app.main:main"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"