-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.cfg
68 lines (61 loc) · 1.66 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
[metadata]
name = django-consent
version = 0.9b1
description = Manages consent for communication with GDPR in mind
long_description = file: README.rst
url = https://github.com/django-denmark/django_consent
author = Benjamin Balder Bach
author_email = [email protected]
license = GNU General Public License v3
classifiers =
Environment :: Web Environment
Framework :: Django
Intended Audience :: Developers
License :: OSI Approved :: BSD 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
Topic :: Internet :: WWW/HTTP
Topic :: Internet :: WWW/HTTP :: Dynamic Content
[options]
python_requires = >=3.6
zip_safe = False
include_package_data = True
packages = find:
package_dir=
=src
install_requires =
django>=2.2,<4
django-ratelimit>=3,<4
[options.package_data]
* = *.html
[options.extras_require]
test = pytest; pytest-django; pytest-cov; coverage; codecov
develop = tox; coverage; pytest; pre-commit
docs = sphinx; sphinx-rtd-theme
[options.packages.find]
where =
src
[flake8]
ignore = E501 W503
max-line-length = 160
max-complexity = 10
exclude = */*migrations
[aliases]
# Define setup.py command aliases here
test = pytest
[coverage:report]
# see: https://coverage.readthedocs.io/en/coverage-4.3.3/excluding.html
exclude_lines =
pragma: no cover
def __repr__
if self.debug:
if settings.DEBUG
raise AssertionError
raise NotImplementedError
if 0:
if __name__ == .__main__.: