mirror of
https://github.com/Hopiu/django-select2.git
synced 2026-03-17 05:50:23 +00:00
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)
27 lines
555 B
INI
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
|