-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathsetup.cfg
83 lines (74 loc) · 2.24 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
[metadata]
name = django-generic-filters
description =
Easy filters for your Generic ListView with Django.
author = PeopleDoc
author_email = peopleask@novapost.fr
url = https://github.com/peopledoc/django-generic-filters
project_urls =
GitHub = https://github.com/peopledoc/django-generic-filters
Changelog = https://github.com/peopledoc/django-generic-filters/releases
Issue tracker = https://github.com/peopledoc/django-generic-filters/issues
Documentation = https://django-generic-filters.readthedocs.io
long_description = file: README.rst
keywords = class-based view, generic view, filters
license = BSD
classifiers =
Development Status :: 5 - Production/Stable
License :: OSI Approved :: BSD License
Programming Language :: Python :: 3
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Framework :: Django :: 2.2
Framework :: Django :: 3.0
Framework :: Django :: 3.1
Framework :: Django :: 3.2
Framework :: Django :: 4.0
[options]
zip_safe = True
include_package_data = True
packages = find:
install_requires =
Django
munch
[options.extras_require]
dev =
psycopg2
black
isort
flake8
pytest
pytest-cov
pytest-django
tox
factory-boy
[options.packages.find]
include =
django_genericfilters
django_genericfilters.*
[tool:pytest]
addopts =
--cov-report term-missing --cov-branch --cov-report html --cov-report term
--cov=django_genericfilters -vv --strict-markers -rfE
testpaths =
django_genericfilters/tests
demoproject/tests.py
filterwarnings =
# Uncomment below when testing a new version of Python or Django so that
# DeprecationWarnings can be treated as errors
# error
ignore:.*distutils Version classes are deprecated.*:DeprecationWarning
DJANGO_SETTINGS_MODULE = demoproject.settings
[isort]
profile = black
known_first_party = demoproject,django_genericfilters
skip = .venv,.tox
[flake8]
# This section ensures black and flake8 play nice together
max-line-length = 88
# E203: whitespace before colon on list slice: mylist[1 : 2]
# E501: line too long (black knows better)
extend-ignore = E203,E501
extend-exclude = .venv