-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
79 lines (67 loc) · 1.64 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
[tool.poetry]
name = "app"
version = "0.0.1"
description = "TEMPLATE_DESCRIPTION"
authors = ["TEMPLATE_AUTHOR <TEMPLATE_AUTHOR_EMAIL>"]
maintainers = ["TEMPLATE_AUTHOR <TEMPLATE_AUTHOR_EMAIL>"]
[tool.poetry.dependencies]
python = "3.11.4"
[tool.poetry.group.dev.dependencies]
black = "23.11.0"
isort = "5.12.0"
flake8 = "6.1.0"
mypy = "1.7.0"
bandit = {extras = ["toml"], version = "1.7.5"}
pytest-asyncio = "0.21.1"
flake8-comments = "0.1.2"
flake8-print = "5.0.0"
coverage = "7.3.2"
[tool.black]
line-length = 100
[tool.autopep8]
max_line_length = 100
in-place = true
recursive = true
aggressive = 3
select = ["E203", "W503"]
[tool.isort]
profile = "black"
line_length = 100
wrap_length = 100
multi_line_output = 3
combine_as_imports = true
force_alphabetical_sort_within_sections = true
overwrite_in_place = true
skip_glob = []
[tool.mypy]
plugins = []
python_version = "3.11"
follow_imports = "silent"
warn_return_any = true
warn_redundant_casts = true
warn_unused_configs = true
warn_unused_ignores = true
check_untyped_defs = true
no_implicit_reexport = true
namespace_packages = true
exclude = []
[[tool.mypy.overrides]]
module = []
ignore_missing_imports = true
[tool.bandit]
skips = [
"B311" # Standard pseudo-random generators are not suitable for security/cryptographic purposes
]
[tool.pytest.ini_options]
asyncio_mode = "strict"
pythonpath = ["."]
python_files = ["test_*.py", "tests/units/*.py"]
[tool.coverage.run]
source = ["app"]
[tool.coverage.report]
exclude_lines = [
# Skip any pass lines such as may be used for @abstractmethod.
"pass",
# Don't complain if tests don't hit defensive assertion code.
"raise NotImplementedError",
]