This repository has been archived by the owner on Feb 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
63 lines (56 loc) · 1.7 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
[tool.poetry]
name = "cat-as-a-service"
version = "0.1.0"
description = "Get a cute cat image."
authors = ["Unay Santisteban"]
license = "MIT"
packages = [
{ include = "caas_ext" },
{ include = "cats_as_a_service" }
]
readme = "./README.md"
[tool.poetry.plugins."connect.eaas.ext"]
"extension" = "caas_ext.extension:CatAsAServiceExtension"
[tool.poetry.dependencies]
python = "^3.8"
connect-extension-runner = "24.5"
connect-devops-testing-library = { git = "https://github.com/cloudblue/connect-devops-testing-library", rev = "master" }
connect-processor-toolkit = { git = "https://github.com/othercodes/connect-processor-toolkit", rev = "main" }
[tool.poetry.dev-dependencies]
pytest = "^6.1.2"
pytest-cov = "^2.10.1"
pytest-mock = "^3.3.1"
pytest-asyncio = "^0.15.1"
pytest-httpx = "^0.12.0"
coverage = { extras = ["toml"], version = "^5.3" }
responses = "^0.12.0"
flake8 = "~3.8"
flake8-bugbear = "~20"
flake8-cognitive-complexity = "^0.1"
flake8-commas = "~2.0"
flake8-future-import = "~0.4"
flake8-import-order = "~0.18"
flake8-broken-line = "~0.3"
flake8-comprehensions = "^3.3.1"
flake8-debugger = "^4.0.0"
flake8-eradicate = "^1.0.0"
flake8-string-format = "^0.3.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
testpaths = "tests"
addopts = "--cov=caas_ext --cov=cats_as_a_service --cov-report=html --cov-report=xml --cov-report=term-missing:skip-covered"
[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__.:",
]