-
Notifications
You must be signed in to change notification settings - Fork 44
/
pyproject.toml
160 lines (147 loc) · 3.49 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
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
[build-system]
requires = [
"setuptools>=42",
"wheel"
]
build-backend = "setuptools.build_meta"
[project]
name = "dask-geopandas"
dynamic = ["version"]
authors = [
{ name = "Julia Signell", email = "[email protected]" }
]
maintainers = [
{ name = "GeoPandas contributors" }
]
license = { text = "BSD 3-Clause" }
description = "Parallel GeoPandas with Dask"
readme = "README.rst"
keywords = ["dask", "geopandas", "spatial", "distributed", "cluster"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: GIS",
"Topic :: System :: Distributed Computing",
]
requires-python = ">=3.9"
dependencies = [
"geopandas>=0.12",
"shapely>=2.0",
"dask[dataframe]>=2022.06.0",
"packaging",
]
[project.optional-dependencies]
test = [
"pytest",
]
[project.urls]
Home = "https://geopandas.org"
Documentation = "https://dask-geopandas.readthedocs.io/"
Repository = "https://github.com/geopandas/dask-geopandas"
"Issue Tracker" = "https://github.com/geopandas/dask-geopandas/issues"
[tool.black]
line-length = 88
[tool.ruff]
line-length = 88
extend-exclude = ["doc/*", "versioneer.py", "dask_geopandas/_version.py"]
[tool.ruff.lint]
select = [
# pyflakes
"F",
# pycodestyle
"E",
"W",
# pyupgrade
# "UP",
# flake8-bugbear
"B",
# flake8-debugger
"T10",
# flake8-simplify
# "SIM",
# pylint
"PLC",
"PLE",
"PLR",
"PLW",
# misc lints
"PIE",
# implicit string concatenation
"ISC",
# type-checking imports
"TCH",
# comprehensions
"C4",
# Ruff-specific rules
"RUF",
# isort
"I",
]
ignore = [
### Intentionally disabled
# module level import not at top of file
"E402",
# do not assign a lambda expression, use a def
"E731",
# mutable-argument-default
"B006",
# unused-loop-control-variable
"B007",
# get-attr-with-constant
"B009",
# Only works with python >=3.10
"B905",
# dict literals
"C408",
# Too many arguments to function call
"PLR0913",
# Too many returns
"PLR0911",
# Too many branches
"PLR0912",
# Too many statements
"PLR0915",
# Magic number
"PLR2004",
# Redefined loop name
"PLW2901",
# Global statements are discouraged
"PLW0603",
# compare-to-empty-string
"PLC1901",
### Additional checks that don't pass yet
# Useless statement
"B018",
# Within an except clause, raise exceptions with ...
"B904",
# Consider `elif` instead of `else` then `if` to remove indentation level
"PLR5501",
# collection-literal-concatenation
"RUF005",
# Mutable class attributes should be annotated with `typing.ClassVar`,
"RUF012"
]
[tool.ruff.lint.per-file-ignores]
"dask_geopandas/__init__.py" = ["F401", "I"]
[tool.ruff.lint.isort]
extra-standard-library = ["packaging"]
section-order = [
"future",
"standard-library",
"third-party",
"dask",
"geo",
"first-party",
"local-folder",
"testing"
]
[tool.ruff.lint.isort.sections]
"dask" = ["dask", "dask_expr"]
"geo" = ["geopandas", "shapely", "pyproj"]
"testing" = ["pytest", "pandas.testing", "numpy.testing", "geopandas.tests", "geopandas.testing"]