forked from mar10/wsgidav
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
191 lines (161 loc) · 4.63 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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
[bdist_wheel]
; universal = 1
[metadata]
name = WsgiDAV
version = attr: wsgidav.__version__
author = Martin Wendt
author_email = [email protected]
maintainer = Martin Wendt
maintainer_email = [email protected]
url = https://github.com/mar10/wsgidav/
project_urls =
Bug Tracker = https://github.com/mar10/wsgidav/issues
Source Code = https://github.com/mar10/wsgidav
Documentation = https://wsgidav.readthedocs.io/
Download = https://github.com/mar10/wsgidav/releases/latest
description = Generic and extendable WebDAV server based on WSGI
long_description = file: README.md
long_description_content_type = text/markdown
keywords = web, wsgi, webdav, application, server
license = MIT
license_file = LICENSE
classifiers =
# Development Status :: 3 - Alpha
Development Status :: 4 - Beta
# Development Status :: 5 - Production/Stable
Environment :: Console
Intended Audience :: Developers
Intended Audience :: Information Technology
Intended Audience :: System Administrators
License :: OSI Approved :: MIT License
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Topic :: Internet :: WWW/HTTP
Topic :: Internet :: WWW/HTTP :: HTTP Servers
Topic :: Internet :: WWW/HTTP :: Dynamic Content
Topic :: Internet :: WWW/HTTP :: WSGI
Topic :: Internet :: WWW/HTTP :: WSGI :: Application
Topic :: Internet :: WWW/HTTP :: WSGI :: Server
Topic :: Software Development :: Libraries :: Python Modules
[options]
package_dir =
= .
packages = find:
zip_safe = False
# scripts =
# bin/first.py
# bin/second.py
install_requires =
defusedxml
Jinja2
json5
PyYAML
# [options.package_data]
# * = *.txt, *.rst
# hello = *.msg
# [options.extras_require]
# pdf = ReportLab>=1.2; RXP
# rest = docutils>=0.3; pack ==1.1, ==1.3
[options.packages.find]
where = .
include_package_data = True
exclude =
tests
[options.data_files]
. = CHANGELOG.md
# /etc/my_package =
# site.d/00_default.conf
# host.d/00_default.conf
# data = data/img/logo.png, data/svg/icon.svg
[options.entry_points]
console_scripts =
wsgidav = wsgidav.server.server_cli:run
[check-manifest]
ignore =
docs/sphinx-build
docs/sphinx-build/*
# [isort]
# force_alphabetical_sort=True
# force_single_line=False
# force_to_top=True
# from_first=True
# lines_after_imports=2
# ; not_skip=__init__.py
# multi_line_output=3
# include_trailing_comma=True
# force_grid_wrap=0
# combine_as_imports=True
# line_length=88
[aliases]
# TODO: this breaks 'setup.py test' which is ought to run the Tox-command:
#test = pytest
# --- Coverage Settings --------------------------------------------------------
[coverage:run]
branch = True
omit =
tests/*
wsgidav/prop_man/couch_property_manager.py
wsgidav/prop_man/mongo_property_manager.py
wsgidav/samples/*
wsgidav/server/run_reloading_server.py
wsgidav/server/server_sample.py
[coverage:report]
precision = 2
; show_missing = True
sort = Name
exclude_lines =
pragma: no cover
if __name__ == .__main__.:
[coverage:html]
directory = build/coverage
# --- PyTest Settings ----------------------------------------------------------
[tool:pytest]
addopts =
testpaths =
.
tests
# --- Flake8 Settings ----------------------------------------------------------
[flake8]
# G: enable 'flake8-logging-format'
enable-extensions = G
exclude =
__pycache__,
.cache,
.eggs,
.git,
.tox,
.vscode,
build,
dist,
docs
max-line-length = 99
# max-line-length = 88
# 'mccabe' plugin:
# max-complexity = 12
# max-annotations-complexity = 10
# max-expression-complexity = 10
# Ignore some errors that may be created by Black:
# - E203 whitespace before ':'
# - E501 line too long
# - W503 line break before binary operator
# - P101 format string does contain unindexed parameters
# - W605 invalid escape sequence '\/' (we want to allow ascii-art)
# - A003 class attribute "open" is shadowing a python builtin
# - N806 variable 'VAR_NAME' in function should be lowercase
ignore = E203, E501, W503, P101, A003, N806, W605
# Instead of strict E501, enable B950 for relaxed line length checking (and other bugbear warnings)
# select = B,C,D,E,F,I,N,P,PT,Q,S,T,W,B9
#
docstring-convention = all # google?
# Options for the flake8-quotes extension:
inline-quotes = double
multiline-quotes = """
docstring-quotes = """
avoid-escape = True