forked from major/icanhaz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
108 lines (91 loc) · 1.94 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
# settings for setup.py
[metadata]
author = Major Hayden
author_email = major@???
classifiers =
Development Status :: 3 - Alpha
License :: OSI Approved :: Apache License
Programming Language :: Python :: 3.6
Operating System :: POSIX
description = icanhaz container
keywords =
webutil
icanhazip
license = Apache License 2.0
long_description = file: README.md
long_description_content_type = 'text/x-rst; charset=UTF-8'
python_requires = >=3.6
url = http://icanhazip.com
[options]
install_requires =
Click==7.0
Flask==1.0.2
gunicorn==19.9.0
itsdangerous==0.24
Jinja2==2.10
MarkupSafe==1.0
Werkzeug==0.14.1
tests_require =
mock
packages = find:
zip_safe = False
[options.entry_points]
console_scripts =
icanhaz = icanhaz.__main__:main
[options.package_data]
icanhaz =
data/*
[options.packages.find]
include =
icanhaz
icanhaz.*
# settings for flake8
[flake8]
doctests = True
exclude =
.eggs
.git
docs
lib
bin
include
build
dist
ignore = D203
max-line-length = 120
max-complexity = 10
# settings for coverage.py
[coverage:run]
branch = True
source = icanhaz
omit =
# Ignore test coverage of tests.
icanhaz/tests/*
[coverage:report]
# Regexes for lines to exclude from consideration
exclude_lines =
# Have to re-enable the standard pragma
pragma: no cover
# Don't complain about missing debug-only code:
def __repr__
if self\.debug
# Don't complain if tests don't hit defensive assertion code:
raise AssertionError
raise NotImplementedError
# Don't complain if non-runnable code isn't run:
if 0:
if __name__ == .__main__.:
ignore_errors = True
[coverage:html]
directory = coverage_html_report
# settings for tox
[tox]
envlist = py36
platform = linux2|darwin
[testenv]
install_command = pip install --process-dependency-links {opts} {packages}
commands = {envpython} setup.py test
deps =
passenv =
TERM
TERMINFO