-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
116 lines (102 loc) · 2.39 KB
/
pyproject.toml
File metadata and controls
116 lines (102 loc) · 2.39 KB
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
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[project]
name = "desalkila"
readme = "README.md"
version = "0.1.dev0"
requires-python = ">=3.12"
license = {file = "LICENSE"}
description = "(TBC)"
dependencies = [
"deltalake",
"geopandas>=1.0",
"kedro>=0.19.6",
"kedro-datasets[polars]>=3.0.1",
"polars",
]
authors = [
{name = "Juan Luis Cano Rodríguez", email = "hello@juanlu.space"}
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
]
# dynamic = ["version"]
[project.urls]
source = "https://github.com/astrojuanlu/desalkila"
tracker = "https://github.com/astrojuanlu/desalkila/issues"
documentation = "https://desalkila.readthedocs.io"
[project.optional-dependencies]
test = [
"mypy",
"hypothesis",
"pytest",
"pytest-cov",
]
doc = [
"furo",
"myst-parser",
"sphinx>=5",
"sphinx-copybutton",
]
# [tool.pdm.version]
# source = "scm"
[tool.ruff]
show-fixes = true
[tool.ruff.lint]
select = [
"F", # Pyflakes
"E", # Pycodestyle
"W", # Pycodestyle
# "D", # Pydocstyle
"UP", # pyupgrade
"I", # isort
"PL", # Pylint
]
ignore = [
"PLR0913", # Too many arguments in function definition
]
[tool.ruff.lint.per-file-ignores]
"tests/**/*" = ["D", "PLR2004"]
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.mypy]
python_version = "3.8"
warn_redundant_casts = true
warn_unused_configs = true
pretty = true
show_error_codes = true
show_error_context = true
show_column_numbers = true
disallow_any_generics = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
no_implicit_optional = true
warn_unused_ignores = true
warn_return_any = true
no_implicit_reexport = true
# More strict checks for library code
[[tool.mypy.overrides]]
module = "desalkila"
disallow_untyped_defs = true
# Ignore certain missing imports
# [[tool.mypy.overrides]]
# module = "thirdparty.*"
# ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = [
"tests",
]
[tool.kedro]
project_name = "desalkila"
package_name = "desalkila"
kedro_init_version = "0.19.6"