forked from ansible/molecule
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
161 lines (143 loc) · 4.53 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
[aliases]
dists = clean --all sdist bdist_wheel
[metadata]
name = molecule
url = https://github.com/ansible-community/molecule
project_urls =
Bug Tracker = https://github.com/ansible-community/molecule/issues
Release Management = https://github.com/ansible-community/molecule/releases
CI = https://github.com/ansible-community/molecule/actions
Code of Conduct = https://docs.ansible.com/ansible/latest/community/code_of_conduct.html
Documentation = https://molecule.readthedocs.io
Discussions = https://github.com/ansible-community/molecule/discussions
Source Code = https://github.com/ansible-community/molecule
description = Molecule aids in the development and testing of Ansible roles
long_description = file: README.rst
long_description_content_type = text/x-rst
author = Ansible by Red Hat
author_email = [email protected]
maintainer = Ansible by Red Hat
maintainer_email = [email protected]
license = MIT
license_file = LICENSE
classifiers =
Development Status :: 5 - Production/Stable
Environment :: Console
Intended Audience :: Developers
Intended Audience :: Information Technology
Intended Audience :: System Administrators
License :: OSI Approved :: MIT License
Natural Language :: English
Operating System :: OS Independent
Programming Language :: Python :: 3
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Topic :: System :: Systems Administration
Topic :: Utilities
keywords =
ansible
roles
testing
molecule
[options]
use_scm_version = True
python_requires = >=3.6
packages = find:
include_package_data = True
zip_safe = False
# These are required during `setup.py` run:
setup_requires =
setuptools_scm >= 1.15.0
setuptools_scm_git_archive >= 1.0
# These are required in actual runtime:
install_requires =
cerberus >= 1.3.1
click >= 7.0
click-completion >= 0.5.1
click-help-colors >= 0.6
colorama >= 0.3.9
cookiecutter >= 1.6.0, != 1.7.1
Jinja2 >= 2.10.1
paramiko >= 2.5.0, < 3
pexpect >= 4.6.0, < 5
pluggy >= 0.7.1, < 1.0
PyYAML >= 5.1, < 6
sh >= 1.13.1, < 1.14
tabulate >= 0.8.4
tree-format >= 0.1.2
yamllint >= 1.15.0, < 2
# selinux python module is needed as least by ansible-docker/podman modules
# and allows us of isolated (default) virtualenvs. It does not avoid need
# to install the system selinux libraries but it will provide a clear
# message when user has to do that.
selinux; sys_platform=="linux2"
selinux; sys_platform=="linux"
[options.extras_require]
docs =
simplejson
Sphinx
sphinx_ansible_theme >= 0.2.2
docker =
molecule-docker
podman =
molecule-podman
windows =
pywinrm
test =
ansible >= 2.8 # keep it N/N-1
ansi2html
coverage < 5 # https://github.com/pytest-dev/pytest-cov/issues/250
mock>=3.0.5, < 4
packaging
pytest-cov>=2.7.1, < 3
pytest-helpers-namespace>=2019.1.8, < 2020
pytest-html>=1.21.0
pytest-mock>=1.10.4, < 2
pytest-verbose-parametrize>=1.7.0, < 2
pytest-plus
pytest-xdist>=1.29.0, < 2
pytest>=5.4.0, < 5.5
testinfra >= 3.4.0
lint =
ansible-lint >= 4.2.0, < 5
flake8 >= 3.6.0
pre-commit >= 1.21.0
yamllint >= 1.15.0
[options.entry_points]
console_scripts =
molecule = molecule.__main__:main
mol = molecule.__main__:main
molecule.driver =
delegated = molecule.driver.delegated:Delegated
molecule.verifier =
testinfra = molecule.verifier.testinfra:Testinfra
ansible = molecule.verifier.ansible:Ansible
[options.packages.find]
where = .
[tool:pytest]
addopts = --doctest-modules --durations 10 --color=yes
doctest_optionflags = ALLOW_UNICODE ELLIPSIS
junit_suite_name = molecule_test_suite
norecursedirs = dist doc build .tox .eggs molecule/test/scenarios molecule/test/resources
testpaths = molecule/test/
filterwarnings =
# treat warnings as errors unless we add them below
error
# ignore::UserWarning
markers =
extensive: marks tests that we want to skip by default, as they are indirectly covered by other tests
[flake8]
# do not add excludes for files in repo
exclude = .venv/,.tox/,dist/,build/,.eggs/
format = pylint
# E203: https://github.com/python/black/issues/315
ignore = E741,W503,W504,H,E501,E203,D102
# TODO(ssbarnea): remove temporary skips one by one:
# [D102] Missing docstring in public method
# [D104] Missing docstring in public package
# 88 is official black default:
max-line-length = 88
per-file-ignores =
docs/conf.py: D
molecule/test/*: D100,D103,D104