forked from szymon6927/hexagonal-architecture-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
113 lines (96 loc) · 2.21 KB
/
Copy pathpyproject.toml
File metadata and controls
113 lines (96 loc) · 2.21 KB
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
108
109
110
111
112
113
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core"]
[tool]
[tool.black]
line-length = 120
target-version = ["py310"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"pass",
"if 0:",
"if __name__ == .__main__.:",
"nocov",
"if TYPE_CHECKING:",
]
fail_under = 80
show_missing = true
[tool.coverage.run]
branch = true
omit = [
"tests/*"
]
[tool.isort]
combine_as_imports = "true"
force_grid_wrap = 0
include_trailing_comma = "true"
known_first_party = "src"
line_length = 120
multi_line_output = 3
[tool.mypy]
disallow_untyped_defs = true
follow_imports = "silent"
ignore_missing_imports = true
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
[tool.poetry]
authors = ["Szymon Miks <miks.szymon@gmail.com>"]
description = ""
name = "hexagonal-architecture-python"
packages = [{include = "src"}]
readme = "README.md"
version = "0.1.0"
[tool.poetry.dependencies]
boto3 = "^1.25.2"
dropbox = "^11.35.0"
email-validator = "^1.3.0"
fastapi = "^0.85.1"
kink = "^0.6.5"
mypy-boto3-s3 = "^1.24.76"
mypy-boto3-ses = "^1.24.36.post1"
mypy-boto3-sns = "^1.24.68"
pymongo = "^4.2.0"
python = "^3.10"
python-dateutil = "^2.8.2"
python-dotenv = "^0.21.0"
requests = "^2.28.1"
[tool.poetry.group.dev.dependencies]
black = "^22.10.0"
flake8 = "^5.0.4"
ipython = "^8.5.0"
isort = "^5.10.1"
moto = "^4.0.8"
mypy = "^0.982"
pre-commit = "^2.20.0"
pylint = "^2.15.4"
pytest = "^7.1.3"
pytest-cov = "^4.0.0"
toml-sort = "^0.20.1"
[tool.pylint.BASIC]
good-names = "id,i,j,k"
[tool.pylint.DESIGN]
max-args = 7
max-attributes = 8
min-public-methods = 1
[tool.pylint.FORMAT]
max-line-length = 120
[tool.pylint.MASTER]
extension-pkg-whitelist = "pydantic"
[tool.pylint."MESSAGES CONTROL"]
disable = "missing-docstring, line-too-long, logging-fstring-interpolation, duplicate-code"
extension-pkg-whitelist = "pydantic"
[tool.pylint.MISCELLANEOUS]
notes = "XXX"
[tool.pylint.SIMILARITIES]
ignore-comments = "yes"
ignore-docstrings = "yes"
ignore-imports = "yes"
min-similarity-lines = 6
[tool.pytest.ini_options]
addopts = "-v --cov=src --cov-report term-missing --no-cov-on-fail"
testpaths = ["tests"]