-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
61 lines (55 loc) · 1014 Bytes
/
Copy pathpyproject.toml
File metadata and controls
61 lines (55 loc) · 1014 Bytes
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
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "blooms-ml"
version = "0.1.0"
requires-python = ">=3.10"
dependencies = [
"numpy",
"pandas",
"xarray[complete]",
"matplotlib",
"ipykernel",
"scikit-learn",
"sphinx",
"sphinx_rtd_theme",
"myst-parser",
]
[project.optional-dependencies]
ml-cpu = [
"jax[cpu]",
"tensorflow",
"optax",
"flax",
"clu",
"ml-collections",
"tensorflow-datasets",
]
[tool.setuptools.packages.find]
include = ["blooms_ml"]
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = [
# pycodestyle
"E",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# isort
"I",
]
ignore = [
# zip-without-explicit-strict
"B905"
]
# Ignore `E402` (import violations) in all `__init__.py` files, and in select subdirectories.
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["E402"]
"**/{tests,docs,tools}/*" = ["E402"]