-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
68 lines (58 loc) · 1.65 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "keras-rs"
authors = [
{name = "Keras RS team", email = "[email protected]"},
]
description = "Multi-backend recommender systems with Keras 3."
readme = "README.md"
requires-python = ">=3.9"
license = {text = "Apache License 2.0"}
dynamic = ["version"]
classifiers = [
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3 :: Only",
"Operating System :: Unix",
"Operating System :: MacOS",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"Topic :: Software Development",
]
dependencies = [
"keras",
]
[project.urls]
Home = "https://keras.io/"
Repository = "https://github.com/keras-team/keras-rs"
[tool.setuptools.dynamic]
version = {attr = "keras_rs.src.version.__version__"}
[tool.setuptools.packages.find]
include = ["keras_rs", "keras_rs.*"]
[tool.ruff]
line-length = 80
[tool.ruff.lint]
select = [
"E", # pycodestyle error
"F", # Pyflakes
"I", # isort
]
[tool.ruff.lint.per-file-ignores]
"**/__init__.py" = ["F401"] # imported but unused
[tool.ruff.lint.isort]
force-single-line = true
single-line-exclusions = ["typing"]
known-first-party = ["keras_rs"]
[tool.mypy]
strict = "True"
exclude = ["_test\\.py$", "^examples"]
disable_error_code = ["import-untyped"]
disallow_subclassing_any = "False"
[tool.pytest.ini_options]
filterwarnings = ["ignore::DeprecationWarning"]
addopts = "-vv"