-
Notifications
You must be signed in to change notification settings - Fork 315
/
setup.cfg
90 lines (80 loc) · 1.86 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
[metadata]
name = django-select2
author = Johannes Hoppe
author_email = [email protected]
description = Select2 option fields for Django
long_description = file: README.rst
url = https://github.com/codingjoe/django-select2
license = MIT
license_file = LICENSE
classifier =
Development Status :: 5 - Production/Stable
Environment :: Web Environment
Intended Audience :: Developers
License :: OSI Approved :: Apache Software 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
Framework :: Django
Framework :: Django :: 2.2
Framework :: Django :: 3.0
[options]
include_package_data = True
packages = django_select2
install_requires =
django>=2.2
django-appconf>=0.6.0
setup_requires =
setuptools_scm
sphinx
pytest-runner
tests_require =
pytest
pytest-cov
pytest-django
selenium
[options.extras_require]
test =
pytest
pytest-cov
pytest-django
selenium
[bdist_wheel]
universal = 1
[bdist_rpm]
requires =
python-django-appconf >= 2.0
python-django-appconf >= 0.6
[aliases]
test = pytest
[build_sphinx]
source-dir = docs
build-dir = docs/_build
[tool:pytest]
addopts =
tests
--doctest-glob='*.rst'
--doctest-modules
--cov=django_select2
DJANGO_SETTINGS_MODULE=tests.testapp.settings
[flake8]
max-line-length=88
select = C,E,F,W,B,B950
ignore = E203, E501, W503
exclude = venv,.tox,.eggs
[pydocstyle]
add-ignore = D1
[isort]
atomic = true
line_length = 88
multi_line_output = 3
include_trailing_comma = True
force_grid_wrap = 0
use_parentheses = True
known_first_party = django_select2, tests
default_section = THIRDPARTY
combine_as_imports = true