-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
72 lines (59 loc) · 1.33 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
[metadata]
name = school-holidays
author = voiio GmbH
author_email = opensource@voiio.de
description = List of school holidays
long_description = file: README.rst
url = https://github.com/voiio/school-holidays
license = MIT
license_file = LICENSE
classifier =
License :: OSI Approved :: MIT License
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
keywords = school,holidays
[options]
include_package_data = True
packages = find:
install_requires =
setup_requires =
setuptools_scm
sphinx
pytest-runner
tests_require =
pytest
pytest-cov
[options.package_data]
* = *.txt, *.rst, *.html, *.po
[options.packages.find]
exclude =
tests
[bdist_wheel]
universal = 1
[aliases]
test = pytest
[tool:pytest]
addopts = --cov=school_holidays --cov-report xml
[tox:tox]
envlist = py{35,36,37},docs
[testenv]
commands = python setup.py test
[testenv:docs]
commands = python setup.py build_sphinx -W -b html -b doctest
[build_sphinx]
source-dir = docs
build-dir = docs/_build
[flake8]
max-line-length=88
exclude = venv,.tox,.eggs
[pydocstyle]
add_ignore = D1
[isort]
atomic = true
line_length = 88
known_first_party = school_holidays, tests
include_trailing_comma = True
default_section=THIRDPARTY
combine_as_imports = true