forked from oscal-compass/compliance-to-policy
-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
98 lines (83 loc) · 2.2 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
91
92
93
94
95
96
97
98
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
package-dir = { "c2p" = "c2p" }
[tool.setuptools.packages.find]
include = ["c2p*"]
[project]
version = "0.5.0"
name = "compliance-to-policy"
authors = [{ name = "Takumi Yanagawa", email = "[email protected]" }]
description = "Tools to bridge Compliance and Policy"
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.9"
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
]
dependencies = [
"compliance-trestle~=3.3",
"PyGithub==1.58.0",
"jq==1.6.0",
"pluggy",
]
[project.scripts]
c2p = "c2p.cli:run"
[project.optional-dependencies]
dev = [
"build>=1.0.3",
"pyclean",
"pytest>=8.0.0",
"pre-commit>=2.4.0",
"pep8-naming",
"toml-cli",
"types-PyYAML",
"types-setuptools",
## Docs website
"mkdocs",
"mkdocs-redirects",
"mkdocstrings-python",
## Constrain system
"black",
"isort",
"pylint",
]
[project.urls]
Homepage = "https://github.com/oscal-compass/compliance-to-policy"
Issues = "https://github.com/oscal-compass/compliance-to-policy/issues"
[tool.pytest.ini_options]
log_cli = true
log_cli_level = "INFO"
log_cli_format = "%(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)"
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
minversion = "6.0"
addopts = "-ra -q"
testpaths = ["tests", "plugins_public/tests"]
pythonpath = ["c2p", "plugins_public/tests"]
[tool.isort]
profile = "black"
extend_skip_glob = "go"
[tool.black]
line-length = 120
skip-string-normalization = true
extend-exclude = "go"
[tool.pylint.master]
ignore = "oscal"
extension-pkg-whitelist = "pydantic"
[tool.pylint.messages_control]
disable = ["W1203", "W1201"]
[tool.pylint.format]
max-line-length = 120
[tool.semantic_release]
version_toml = ["pyproject.toml:project.version"]
commit_message = "{version}\n\nAutomatically generated by python-semantic-release"
[tool.semantic_release.remote.token]
env = "GITHUB_TOKEN"
[tool.semantic_release.publish]
upload_to_vcs_release = false