-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
114 lines (102 loc) · 2.7 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "keras-aug"
description = "A library that includes Keras 3 preprocessing and augmentation layers"
keywords = [
"deep-learning",
"preprocessing",
"augmentation",
"keras",
"jax",
"tensorflow",
"torch",
]
authors = [{ name = "Hong-Yu Chiu", email = "[email protected]" }]
maintainers = [{ name = "Hong-Yu Chiu", email = "[email protected]" }]
readme = "README.md"
requires-python = ">=3.9"
license = { text = "Apache License 2.0" }
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3 :: Only",
"Operating System :: Unix",
"Operating System :: MacOS",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"Topic :: Software Development",
]
dynamic = ["version"]
dependencies = ["keras"]
[project.urls]
Homepage = "https://github.com/james77777778/keras-aug"
Documentation = "https://github.com/james77777778/keras-aug"
Repository = "https://github.com/james77777778/keras-aug.git"
Issues = "https://github.com/james77777778/keras-aug/issues"
[project.optional-dependencies]
tests = [
# linter and formatter
"isort",
"ruff",
"black",
"pytest",
"pytest-cov",
"coverage",
# tool
"pre-commit",
"namex",
]
[tool.setuptools.packages]
find = { include = ["keras_aug*"] }
[tool.setuptools.dynamic]
version = { attr = "keras_aug.__version__" }
[tool.black]
line-length = 80
[tool.ruff]
line-length = 80
lint.select = ["E", "W", "F"]
lint.isort.force-single-line = true
exclude = [
".venv",
".vscode",
".github",
".devcontainer",
"venv",
"__pycache__",
]
[tool.ruff.lint.per-file-ignores]
"**/__init__.py" = ["F401"]
"app.py" = ["E402"]
[tool.isort]
profile = "black"
force_single_line = true
known_first_party = ["keras_aug"]
line_length = 80
[tool.pytest.ini_options]
addopts = "-vv --durations 10 --cov --cov-report html --cov-report term:skip-covered --cov-report xml"
testpaths = ["keras_aug"]
filterwarnings = [
"error",
"ignore::UserWarning",
"ignore::DeprecationWarning",
"ignore::ImportWarning",
"ignore::RuntimeWarning",
"ignore::PendingDeprecationWarning",
"ignore::FutureWarning",
]
[tool.coverage.run]
source = ["keras_aug"]
omit = ["**/__init__.py", "*test*"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"@abstract",
"raise NotImplementedError",
"raise ValueError",
]