-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
102 lines (84 loc) · 1.91 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
102
[tool.poetry]
name = "python-poetry-example"
version = "0.0.0"
description = ""
authors = ["Hasenpfote <Hasenpfote36@gmail.com>"]
readme = "README.md"
packages = [{include = "python_poetry_example", from = "src"}]
[tool.poetry.dependencies]
python = "^3.7"
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
black = "^23.3.0"
isort = "^5.11.5"
Flake8-pyproject = "^1.2.3"
mypy = "^1.1"
pre-commit = "^2.20.0"
tox = "^3.27.1"
[tool.poetry.group.test]
optional = true
[tool.poetry.group.test.dependencies]
coverage = "^7.2.2"
pytest = "^7.2.2"
pytest-mock = "^3.10.0"
[tool.poetry.group.docs]
optional = true
[tool.poetry.group.docs.dependencies]
pdoc = "^13.1.0"
tomli = {version = "^2.0.1", python = "<3.11"}
GitPython = "^3.1.31"
[build-system]
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning"]
build-backend = "poetry_dynamic_versioning.backend"
[tool.poetry-dynamic-versioning]
enable = true
vcs = "git"
style = "pep440"
[tool.poetry-dynamic-versioning.substitution]
folders = [
{ path = "src" },
]
[tool.black]
line-length = 88
skip-string-normalization = true
[tool.isort]
profile = "black"
line_length = 88
multi_line_output = 3
include_trailing_comma = true
[tool.flake8]
max-line-length = 88
extend-ignore = ["E203", "E266", "W503",]
max-complexity = 10
extend-exclude = [".venv", "dist", ".github",]
[tool.mypy]
ignore_errors = true
#disallow_untyped_defs = true
#ignore_missing_imports = true
#no_implicit_optional = true
#show_error_context = true
#show_column_numbers = true
#warn_return_any = true
#warn_unused_ignores = true
#warn_redundant_casts = true
exclude = ["dist/",]
[tool.pytest.ini_options]
addopts = [
"--import-mode=importlib",
]
pythonpath = "src"
[tool.coverage.paths]
source = [
"src/",
"/Users/runner/work/*/*/src",
]
[tool.coverage.run]
relative_files = true
source = [
"src/",
]
branch = true
[tool.coverage.report]
show_missing = true
#fail_under = 100