-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
90 lines (81 loc) · 2.12 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
[tool.poetry]
name = "rndi-connect-business-transactions"
version = "1.0.0"
description = "Interface and Adapter to properly packt isolated business transactions."
authors = ["Unay Santisteban <davidunay.santisteban@cloudblue.com>"]
license = "Apache-2.0"
readme = "README.md"
packages = [
{ include = "rndi" }
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Utilities",
"Topic :: Software Development :: Libraries",
]
keywords = [
"rndi",
"rnd-integration",
"connect",
"business transactions",
"connect transactions",
"interface transactions",
"contract transactions",
]
[tool.poetry.dependencies]
python = ">=3.8.1,<4"
connect-eaas-core = ">=28.0"
[tool.poetry.dev-dependencies]
pytest = "^7.2.0"
pytest-cov = "^4.0.0"
pytest-mock = "^3.10.0"
flake8 = "^6.0.0"
flake8-bugbear = "^22.12.6"
flake8-cognitive-complexity = "^0.1"
flake8-commas = "^2.1.0"
flake8-import-order = "^0.18.2"
flake8-pyproject = "^1.2.2"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.flake8]
exclude = [
".idea",
".vscode",
".git",
"pg_data",
"venv",
"*/settings/*.py",
"*/migrations/*.py",
"*nogit*"
]
show-source = true
max-line-length = 120
import-order-style = "smarkets"
ignore = ["FI1", "I100", "W503", "FI58"]
max-cognitive-complexity = 20
[tool.pytest.ini_options]
testpaths = "tests"
addopts = "--cov=rndi.connect.business_transactions --cov-report=term-missing:skip-covered --cov-report=html --cov-report=xml"
[tool.coverage.run]
omit = ["tests/*", "venv*/*", "setup.py"]
relative_files = true
branch = true
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __str__",
"def __repr__",
"import",
"raise NotImplementedError",
"if __name__ == .__main__.:",
'@(abc\.)?abstractmethod'
]
[tool.coverage.html]
skip_covered = true