-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
123 lines (108 loc) · 2.81 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
[build-system]
requires = ["setuptools >= 61.0.0",
"wheel",
"build",
"sphinx"]
# https://packaging.python.org/en/latest/specifications/declaring-project-metadata/
[project]
name = "damast"
version = "0.1.2"
description = "Package to improve the development of transparent, replicable data processing pipelines"
license = { file="LICENSE" }
readme = "README.md"
keywords = ["data processing", "pipeline", "machine learning"]
authors = [
{ name = "Thomas Roehr", email = "roehr@simula.no" },
{ name = "Jørgen S. Dokken", email = "dokken@simula.no" },
{ name = "Anne Fouilloux", email = "annef@simula.no" },
{ name = "Pierre Bernabé", email = "pierbernabe@simula.no" }
]
requires-python = ">=3.10"
maintainers = [
{ name = "Thomas Roehr", email = "roehr@simula.no" },
{ name = "Jørgen S. Dokken", email = "dokken@simula.no" },
{ name = "Anne Fouilloux", email = "annef@simula.no" }
]
classifiers = [
"Topic :: Software Development :: Libraries :: Python Modules",
"Development Status :: 3 - Alpha",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: BSD License",
]
dependencies = [
"astropy",
"cloudpickle",
"keras>=3.0",
"matplotlib",
"numba",
"numpy",
"polars",
"psutil",
"pyais",
"pyarrow",
"pydantic",
"scikit-learn",
"tables",
# BEGIN keras backends
"jax[cpu]",
"tf-nightly",
"torch",
# END backends
]
[project.urls]
homepage = "https://simula.github.io/damast"
documentation = "https://simula.github.io/damast"
repository = "https://github.com/simula/damast"
#[project.entry-points]
[project.optional-dependencies]
dev = [
"astroid<3",
"flake8-gl-codeclimate",
"isort",
"jupyter-book",
"pre-commit",
"pydot",
# With sphinx-autoapi NamedTuple is not
# parse correctly
"sphinx-autoapi<=3.3",
"tox"
]
cuda = [
"cudf",
"polars[gpu]"
]
test = [
"coverage",
"pandas",
"pytest",
"pytest-console-scripts",
"pytest-cov",
"pytest-timeout",
"pydot",
"tox"
]
[project.scripts]
damast = "damast.cli.main:run"
[tool.mypy]
ignore_missing_imports = true
[tool.pytest.ini_options]
# Disable to be able to debug in IDE
#addopts = "--cov --cov-report html:doc/ --cov-report term-missing"
[tool.coverage.run]
source = ["src"]
[tool.pylint]
max-line-length = 120
disable = [
"C0103", # (invalid-name)
# "C0114", # (missing-module-docstring)
# "C0115", # (missing-class-docstring)
# "C0116", # (missing-function-docstring)
# "R0903", # (too-few-public-methods)
# "R0913", # (too-many-arguments)
# "W0105", # (pointless-string-statement)
]
[tool.isort]
multi_line_output = 8