-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
76 lines (66 loc) · 1.77 KB
/
pyproject.toml
File metadata and controls
76 lines (66 loc) · 1.77 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
[tool.poetry]
name = "kreatisite"
version = "0.1.0"
description = "Kreatisite command line application"
authors = ["DevixLabs <info@devixlabs.com>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.9"
pyyaml = "^6.0"
[tool.poetry.group.dev.dependencies]
pytest = "^7.3.1"
pytest-cov = "^4.0.0"
flake8 = "^7.2.0"
black = "^24.0.0"
pre-commit = "^4.2.0"
mypy = "^1.15.0"
isort = "^6.0.1"
clirunner = "^0.2.0"
pytest-subprocess = "^1.5.0"
pytest-console-scripts = "^1.4.1"
pytest-timeout = "^2.1.0"
types-PyYAML = "^6.0.12"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
kreatisite = "kreatisite.cli:main"
lint = "kreatisite.scripts:lint"
test = "kreatisite.scripts:test"
unit-tests = "kreatisite.scripts:run_unit_tests"
integration-tests = "kreatisite.scripts:run_integration_tests"
comprehensive-tests = "kreatisite.scripts:run_comprehensive_tests"
check = "kreatisite.scripts:check_all"
setup-hooks = "kreatisite.scripts:setup_hooks"
smoke-tests = "kreatisite.scripts:run_smoke_tests"
[tool.black]
line-length = 100
target-version = ["py39"]
[tool.isort]
profile = "black"
line_length = 100
multi_line_output = 3
[tool.pytest.ini_options]
markers = [
"unit: Unit tests (fast, mocked)",
"integration: Integration tests (installed package)",
"e2e: End-to-end tests (real AWS calls)",
]
[tool.coverage.run]
source = ["kreatisite"]
omit = [
"kreatisite/scripts.py", # Entry point scripts - tested indirectly
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if self.debug:",
"if settings.DEBUG",
"raise AssertionError",
"raise NotImplementedError",
"if 0:",
"if __name__ == .__main__.:",
"class .*\\bProtocol\\):",
"@(abc\\.)?abstractmethod",
]