-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
77 lines (67 loc) · 1.64 KB
/
pyproject.toml
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
[build-system]
requires = ["flit_core >=2,<4"]
build-backend = "flit_core.buildapi"
[tool.flit.metadata]
module = "svgis"
author = "Neil Freeman"
author-email = "contact@fakeisthenewreal.org"
home-page = "https://github.com/fitnr/svgis"
keywords = "svg, gis, geojson, shapefile, cartography, map, geodata"
classifiers = [
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Intended Audience :: Developers",
"Natural Language :: English",
"Operating System :: Unix",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Operating System :: OS Independent",
]
description-file = "README.md"
requires = [
"click>=8,<9",
"pyproj>=2.6",
"fiona>=1.8",
"tinycss2>=1.0.2",
"utm>=0.4.0,<1",
"cssselect>=1.1.0",
"lxml>=4.5.0",
]
[tool.flit.metadata.requires-extra]
numpy = ["numpy"]
clip = ["shapely>=1.5.7"]
simplify = ["visvalingamwyatt>=0.1.1"]
dev = [
"coverage[toml]",
"pylint>2.5.0"
]
doc = [
"sphinx",
"sphinx-rtd-theme"
]
[tool.flit.scripts]
svgis = "svgis.cli:main"
[tool.coverage.run]
branch = true
source = ["svgis"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"except ImportError",
]
[tool.black]
line-length = 120
target-version = ["py310"]
include = 'py$'
skip-string-normalization = true
[tool.pylint.master]
fail-under = "9.5"
[tool.pylint.basic]
good-names = "f,g,i,j,k,x,y,z"
[tool.pylint.messages_control]
disable = "invalid-name"
[tool.pylint.format]
max-line-length = 120