-
Notifications
You must be signed in to change notification settings - Fork 174
/
setup.cfg
136 lines (122 loc) · 3.64 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
[metadata]
name = ara
summary = ARA Records Ansible
description_file =
README.md
author = ARA Records Ansible Authors
home_page = https://github.com/ansible-community/ara
classifier =
Intended Audience :: Information Technology
Intended Audience :: System Administrators
Intended Audience :: Developers
Topic :: Utilities
License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Operating System :: POSIX :: Linux
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Development Status :: 5 - Production/Stable
[options]
python_requires = >=3.8
[global]
setup-hooks =
pbr.hooks.setup_hook
[files]
packages =
ara
[entry_points]
console_scripts =
ara = ara.cli.base:main
ara-manage = ara.server.__main__:main
ara.cli =
expire = ara.cli.expire:ExpireObjects
playbook list = ara.cli.playbook:PlaybookList
playbook show = ara.cli.playbook:PlaybookShow
playbook delete = ara.cli.playbook:PlaybookDelete
playbook prune = ara.cli.playbook:PlaybookPrune
playbook metrics = ara.cli.playbook:PlaybookMetrics
play list = ara.cli.play:PlayList
play show = ara.cli.play:PlayShow
play delete = ara.cli.play:PlayDelete
host list = ara.cli.host:HostList
host show = ara.cli.host:HostShow
host delete = ara.cli.host:HostDelete
host metrics = ara.cli.host:HostMetrics
record list = ara.cli.record:RecordList
record show = ara.cli.record:RecordShow
record delete = ara.cli.record:RecordDelete
result list = ara.cli.result:ResultList
result show = ara.cli.result:ResultShow
result delete = ara.cli.result:ResultDelete
task list = ara.cli.task:TaskList
task show = ara.cli.task:TaskShow
task delete = ara.cli.task:TaskDelete
task metrics = ara.cli.task:TaskMetrics
[extras]
server=
# 3.2 LTS is supported until April 2024 after which we should lift to >=4.2
# https://github.com/ansible-community/ara/issues/485
Django>=3.2,<4.3
djangorestframework>=3.9.1
django-cors-headers
django-filter
django-health-check
# dynaconf 3.1.3 had a regression https://github.com/ansible-community/ara/issues/212
# dynaconf dropped support for py35 at version 3.0.0: https://github.com/ansible-community/ara/issues/370
dynaconf[yaml]>=3.0.0,!=3.1.3,<4.0.0
# dynaconf[yaml] should recover ruamel.yaml but this isn't always the case (i.e, Fedora koji)
# Make the dependency explicit.
ruamel.yaml
tzlocal>=4.0
whitenoise
pygments
postgresql=
psycopg2
mysql=
mysqlclient
[build_sphinx]
source-dir = doc/source
build-dir = doc/build
all_files = 1
[upload_sphinx]
upload-dir = docs/html
[coverage:report]
ignore_errors = True
include =
ara/*
omit =
/usr*
setup.py
*egg*
.venv/*
[coverage:html]
directory = reports
[wheel]
universal = 1
[pbr]
skip_authors = True
skip_changelog = True
[flake8]
# E123, E125 skipped as they are invalid PEP-8.
# E741, short ambiguous variable names
# H106 Don’t put vim configuration in source files
# H203 Use assertIs(Not)None to check for None
max-line-length = 120
ignore = E123,E125,E741
enable-extensions=H106,H203
show-source = True
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,ara/api/migrations
[isort]
profile = black
known_first_party = ara
default_section = THIRDPARTY
skip = build,.git,.tox,.cache,.venv,ara/api/migrations
multi_line_output=3
include_trailing_comma=True
force_grid_wrap=0
combine_as_imports=True
line_length=120