-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
107 lines (94 loc) · 2.2 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
103
104
105
106
107
[tool.poetry]
name = "buildpy3"
version = "0.1.0"
description = ""
authors = ["Matthias Vitt <@[email protected]>"]
readme = "README.md"
license = "MIT"
homepage = "https://github.com/matsvitt/buildpy3"
repository = "https://github.com/matsvitt/buildpy3"
[tool.poetry.dependencies]
python = "^3.11"
flask-swagger-ui = "^4.11.1"
gunicorn = "^21.2.0"
flask-restx = "^1.3.0"
docker = "^7.1.0"
python-git = "^2018.2.1"
gitpython = "^3.1.43"
[tool.poetry.group.dev.dependencies]
pytest = "^7.1.3"
pytest-sugar = "^0.9.5"
pytest-clarity = "^1.0.1"
pytest-random-order = "^1.0.4"
coverage = {extras = ["toml"], version = "^6.4.4"}
pytest-cov = "^3.0.0"
black = "^22.8.0"
isort = "^5.10.1"
flake8 = "^4"
flakeheaven = "^3.0.0"
darglint = "^1.8.1"
flake8-bandit = "^3.0"
flake8-pytest-style = "^1.6.0"
flake8-bugbear = "^22.8.23"
flake8-docstrings = "^1.6.0"
flake8-comprehensions = "^3.10.0"
flake8-isort = "^4.2.0"
flake8-mutable = "^1.2.0"
flake8-simplify = "^0.19.3"
pep8-naming = "^0.13.2"
safety = "^2.1.1"
mypy = "^0.971"
Faker = "^14.2.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.coverage.paths]
source = ["src"]
[tool.coverage.run]
branch = true
source = ["buildpy3"]
[tool.coverage.report]
fail_under = 100
show_missing = true
[tool.pytest.ini_options]
pythonpath = ["src"]
testpaths = [
"tests",
]
addopts = ["--random-order", "-vv"]
[tool.flakeheaven]
exclude = ["*.md", ".env", ".git", ".gitignore"]
format = "grouped"
max_line_length = 88
show_source = true
[tool.flakeheaven.plugins]
darglint = ["+*"]
flake8-bandit = ["+*", "-S322"]
flake8-bugbear = ["+*", "-B950"]
flake8-builtins = ["+*"]
flake8-comprehensions = ["+*"]
flake8-docstrings = ["+*", "-D400"]
flake8-isort = ["+*"]
flake8-mutable = ["+*"]
flake8-pytest-style = ["+*"]
flake8-simplify = ["+*"]
mccabe = ["+*"]
pep8-naming = ["+*"]
pycodestyle = ["+*", "-W503"]
pyflake = ["+*"]
pyflakes = ["+*"]
[tool.flakeheaven.exceptions."tests/"]
flake8-bandit = ["-S101"]
flake8-docstrings = ["-D100"]
[tool.mypy]
warn_return_any = true
warn_unused_configs = true
exclude = "tests"
[tool.isort]
profile = "black"
atomic = true
line_length = 88
use_parentheses = true
[tool.black]
line_length = 88
include = '\.pyi?$'