forked from oscal-compass/compliance-trestle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
112 lines (99 loc) · 2.48 KB
/
setup.cfg
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
[metadata]
name = compliance-trestle
version = attr: trestle.__version__
description = Tools to manage & autogenerate python objects representing the OSCAL layers/models
author = IBM
author_email = chris.butler@au1.ibm.com
license = Apache Software License v2
url = https://github.com/IBM/compliance-trestle
classifiers =
Development Status :: 3 - Alpha
Environment :: Console
Intended Audience :: Developers
Intended Audience :: Information Technology
License :: OSI Approved :: Apache Software License
Operating System :: POSIX
Operating System :: Microsoft
Programming Language :: Python :: 3
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
long_description_content_type = text/markdown
long_description = file: README.md
[options]
packages = find:
install_requires =
attrs~=19.3
ilcli
paramiko
pyyaml
furl
pydantic[email]>=1.8.2
python-dotenv>=0.10.4
datamodel-code-generator[http]
python-frontmatter
mistune==2.0.0rc1 # Review regularly.
pywin32 >= 1.0;platform_system=='Windows'
MarkupSafe<2.0
[options.package_data]
trestle.resources =
*.ini
[options.packages.find]
exclude =
tests
[bdist_wheel]
universal = 1
[options.entry_points]
console_scripts =
trestle = trestle.cli:run
[options.extras_require]
dev =
MarkupSafe<2.0
pytest>=5.4.3
pytest-cov>=2.10.0
pre-commit>=2.4.0
setuptools
wheel
yapf
python-semantic-release
pep8-naming
pytest-random-order
python-dateutil
mypy
# # Docs website
mkdocs
mkdocstrings
mkdocs-material
markdown-include
pymdown-extensions
## Constrain system
[semantic_release]
version_variable=trestle/__init__.py:__version__
branch = main
upload_to_pypi = true
version_source = commit
[flake8]
# WARNING: This should be kept compatible with .pre-commit-config.yaml
ignore = P1,C812,C813,C814,C815,C816
max-line-length=120
exclude = trestle/oscal
[mypy]
plugins = pydantic.mypy
follow_imports = normal
strict_optional = True
warn_redundant_casts = True
warn_unused_ignores = True
disallow_any_generics = True
check_untyped_defs = True
no_implicit_reexport = True
show_error_codes = True
show_error_context = True
# disallow-untyped-calls = True
disallow_untyped_defs = True
[mypy-trestle.oscal.*]
ignore_errors = True
[pydantic-mypy]
init_forbid_extra = True
init_typed = True
warn_required_dynamic_aliases = True
warn_untyped_fields = True