-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsetup.cfg
74 lines (69 loc) · 2.21 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
[metadata]
name = twms
version = 0.07z
author = Darafei Praliaskouski
author_email = [email protected]
url = https://github.com/komzpa/twms
description = tiny web map service
long_description = file: README.md
license = Public Domain or ISC
classifiers =
Development Status :: 5 - Production/Stable
Environment :: Web Environment
Intended Audience :: Developers
Intended Audience :: End Users/Desktop
License :: Public Domain
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 3.6
Topic :: Internet :: WWW/HTTP
Topic :: Scientific/Engineering :: GIS
[options]
python_requires = >= 3.6
packages = find:
install_requires =
Pillow
web.py
include_package_data = True
[options.extras_require]
proj = pyproj
cairo = pycairo
[options.entry_points]
console_scripts =
twms = twms.daemon:main
[flake8]
doctests = yes
max-line-length = 130
exclude = .git,build,__pycache__,setup.py
ignore = E121,E123,E126,E133,E226,E241,E242,E704,E501,E301,E261,E127,E128,W391,W503,W504
# https://pep8.readthedocs.org/en/latest/intro.html#error-codes
# These are ignored by default:
# - E121: continuation line under-indented for hanging indent
# - E123: closing bracket does not match indentation of opening bracket's line
# - E126: continuation line over-indented for hanging indent
# - E133: closing bracket does not match visual indentation
# - E226: missing whitespace around arithmetic operator
# - E241: multiple spaces after ','
# - E242: tab after ','
# - E704: multiple statements on one line (def)
# These were added because PEP-8 allows exceptions, but pep8 doesn't:
# - E501: line too long
# - E301: expected 1 blank line, found 0
# - E261: at least two spaces before inline comment
# - E127: continuation line over-indented for visual indent
# - E128: continuation line under-indented for visual indent
# - W391: blank line at end of file
# These were added because PEP-8 is wrong sometimes
# - W503: line break before binary operator
# - W504: line break after binary operator
[isort]
# from X import (
# a,
# b,
# )
multi_line_output = 3
include_trailing_comma = true
lines_after_imports = 2
line_length = 130
reverse_relative = true
default_section = THIRDPARTY