[extract_messages]
mapping_file = etc/babel.cfg
keywords = _n:1,2 _l
output-file = abilian/translations/messages.pot
input-dirs = abilian

[update_catalog]
input-file = abilian/translations/messages.pot
output-dir = abilian/translations

[compile_catalog]
directory = abilian/translations

[init_catalog]
input-file = abilian/translations/messages.pot
output-dir = abilian/translations

[tool:pytest]
testpaths = abilian tests
python_files = test_*.py tests.py

[flake8]
ignore = E203,E711,E712,E741,F401,W503,C408
max-line-length = 90
exclude = .tox,docs
banned-modules = 
	cStringIO = Use io.BytesIO or io.StringIO!
	csv = Use yplan.compat.csv instead!
	StringIO = Use io.BytesIO or io.StringIO!
	urllib.urlencode = Use six.moves.urllib.parse.urlencode!
	urlparse = Use six.moves.urllib.parse!

[mypy]
ignore_missing_imports = True
warn_redundant_casts = True
warn_no_return = True
warn_unused_ignores = True

[isort]
known_first_party = abilian
sections = FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
default_section = THIRDPARTY
multi_line_output = 2

[build_sphinx]
source-dir = docs
build-dir = docs/_build
all_files = 1
build = latex

[upload_sphinx]
upload-dir = docs/_build/html

[egg_info]
tag_build = 
tag_date = 0

