django-select2/setup.cfg
Jens Timmerman 176be2fdcf Update setup.cfg (#446)
not all build systems running `python setup.py bdist_rpm`  will generate a setup.cfg if one is already present
so we need to repeat the dependencies from setup.py in setup.cfg's bdist_rpm section if we want to create correct dependencies  in the rpm's generated. (django appconf 0.6 is called python-django-appconf in redhat/centos/fedora)
2017-11-23 12:51:54 +01:00

27 lines
555 B
INI

[tool:pytest]
norecursedirs = env docs
addopts = --tb=short -rxs
DJANGO_SETTINGS_MODULE=tests.testapp.settings
[flake8]
max-line-length = 120
max-complexity = 10
statistics = true
show-source = true
exclude = docs,runtests.py,setup.py,.tox,env
[pep257]
match = (?!setup).*.py
match-dir = (?!tests|env|docs|\.).*
[isort]
atomic = true
multi_line_output = 5
line_length = 79
skip = manage.py,docs,.tox,env
known_first_party = django_select2, tests
known_third_party = django
combine_as_imports = true
[bdist_rpm]
requires = python-django-appconf >= 0.6