-
Notifications
You must be signed in to change notification settings - Fork 6
/
pyproject.toml
144 lines (130 loc) · 3.74 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
[tool.poetry]
name = "fractopo"
version = "0.7.0"
description = "Fracture Network Analysis"
authors = ["nialov <[email protected]>"]
readme = "README.rst"
license = "MIT"
# Make sure hyphens/underscores are correct in urls
homepage = "https://github.com/nialov/fractopo"
repository = "https://github.com/nialov/fractopo"
documentation = "https://nialov.github.io/fractopo/"
# For inspiration: https://pydigger.com/keywords
keywords = [
"data",
"gis",
"geology",
"fracture",
"topology",
]
# See https://pypi.org/classifiers/
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: GIS",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3 :: Only"
]
include = ["CHANGELOG.md"]
[tool.poetry.scripts]
fractopo = "fractopo.__main__:APP"
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/nialov/fractopo/issues"
# Changes here should be kept in sync with ./environment.yml
[tool.poetry.dependencies]
python = ">=3.9,<3.13"
click = "*"
geopandas = ">=1.0.0"
joblib = ">=1.2.0"
matplotlib = ">=3.5.3"
numpy = ">=1.26.0,<2.0.0"
pandas = ">=2.1.0,<3.0.0"
powerlaw = "*"
python-ternary = "*"
rich = ">=11.0.0"
scikit-learn = "*"
scipy = ">=1.9.1"
seaborn = "*"
shapely = ">=2.0.0,<3.0.0"
typer = ">=0.4"
pyproj = ">=3.6.0"
[tool.poetry.dev-dependencies]
codespell = "^2.2.2"
cogapp = "^3.3.0"
coverage = "^6.5.0"
hypothesis = "*"
ipython = "*"
json5 = "*"
jupyterlab = "*"
nbstripout = "^0.6.1"
nox = "*"
pre-commit = "*"
pyinstrument = "*"
pytest = "*"
pytest-regressions = ">=2.2.0,<3.0.0"
toml = "*"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
testpaths =[
"tests",
"fractopo",
]
addopts = "--doctest-modules"
doctest_optionflags =[
"NUMBER",
"NORMALIZE_WHITESPACE",
]
filterwarnings =[
"error",
"ignore:The Shapely:UserWarning:geopandas",
"ignore:No data for colormapping provided:UserWarning",
"ignore:invalid value encountered in divide:RuntimeWarning:powerlaw",
"ignore:divide by zero encountered in divide:RuntimeWarning:powerlaw",
"ignore:overflow encountered in divide:RuntimeWarning:powerlaw",
"ignore:The behavior of :FutureWarning",
"ignore:In a future version, :FutureWarning",
"ignore:More than 20 figures have been opened:RuntimeWarning",
"ignore:the convert_dtype parameter is deprecated and will be removed in a future version:FutureWarning",
"ignore:is_categorical_dtype is deprecated and will be removed in a future version:FutureWarning",
"ignore:is_categorical_dtype is deprecated and will be removed in a future version:DeprecationWarning",
"ignore:'GeoSeries.swapaxes' is deprecated and will be removed in a future version:FutureWarning",
"ignore:\\nPyarrow will become a required dependency of pandas:DeprecationWarning",
"ignore:invalid value encountered in",
# joblib >=1.2.0 upstream issues
"ignore:ast.Num is deprecated and will be removed in Python 3.14; use ast.Constant instead:DeprecationWarning",
"ignore:Attribute n is deprecated and will be removed in Python 3.14; use value instead:DeprecationWarning",
]
[tool.isort]
profile = "black"
multi_line_output = 3
src_paths = ["fractopo", "tests"]
[tool.pylint.master]
fail-under = "9.5"
ignore = ["examples"]
[tool.pylint.report]
output-format = "text"
[tool.pylint.messages_control]
max-line-length = 100
disable = [
"C0103",
"C0302",
"R0902",
"R0913",
"R0914",
"R1735",
"W0212",
"W0621",
"W0703",
"W1203",
]
[tool.pylint.similarities]
ignore-imports = true
[tool.codespell]
ignore_words_list = [
"theses"
]
[tool.ruff]
extend-include = ["*.ipynb"]
lint.ignore = ["E402"]