-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
69 lines (60 loc) · 1.55 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
[tool.poetry]
name = "scm-config-clone"
version = "0.3.0"
description = "A command-line tool to clone configuration objects between Palo Alto Networks Strata Cloud Manager (SCM) tenants."
authors = ["Calvin Remsburg <[email protected]>"]
license = "Apache 2.0"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.10"
typer = "^0.15.2"
setuptools = "^75.8.2"
pan-scm-sdk = "^0.3.18"
tabulate = "^0.9.0"
pandas = "^2.2.3"
pyyaml = "^6.0.2"
[tool.poetry.group.dev.dependencies]
black = "^24.10.0"
flake8 = "^7.1.1"
mkdocs = "^1.6.1"
mkdocs-material = "^9.5.39"
mkdocstrings = "^0.26.1"
pytest = "^8.3.3"
pytest-cov = "^4.1.0"
pytest-mock = "^3.12.0"
factory-boy = "^3.3.1"
termynal = "^0.12.1"
ipython = "^8.32.0"
[tool.poetry.scripts]
scm-clone = 'scm_config_clone.main:app'
[tool.black]
line-length = 120
[tool.isort]
profile = "black"
[tool.pytest.ini_options]
minversion = "6.0"
testpaths = ["tests"]
python_files = "test_*.py"
python_classes = "Test*"
python_functions = "test_*"
markers = [
"unit: mark a test as a unit test",
"integration: mark test as an integration test",
"slow: mark test as slow",
]
addopts = "--strict-markers --cov=scm_config_clone --cov-report=term --cov-report=html"
[tool.coverage.run]
source = ["scm_config_clone"]
omit = ["tests/*", "**/__init__.py"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"pass",
"raise ImportError",
]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"