-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
86 lines (74 loc) · 1.78 KB
/
pyproject.toml
File metadata and controls
86 lines (74 loc) · 1.78 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
[build-system]
# build the package with [flit](https://flit.readthedocs.io)
requires = ["flit_core >=3.4,<4"]
build-backend = "flit_core.buildapi"
[project]
# See https://www.python.org/dev/peps/pep-0621/
name = "AITW_stiffness_surrogate"
dynamic = ["version"] # read from ocr_translate/__init__.py
description = "AITW: Surrogate model for predicting wood stiffness"
authors = []
readme = "README.md"
license = { file = "LICENSE.txt" }
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS",
"Programming Language :: Python",
]
keywords = ["wood", "stiffness", "machine learning", ]
requires-python = "~=3.10"
dependencies = [
"click",
"h5py",
"numpy==1.26.4",
"keras==2.10.0",
"tensorflow==2.10.0",
"tensorflow-probability==0.18.0",
]
# [project.urls]
# Source = ""
[project.optional-dependencies]
release = [
"flit"
]
[project.scripts]
aitw-stiffness = "aitw_stiffness_surrogate.cli:aitw_stiffness"
[tool.flit.module]
name = "aitw_stiffness_surrogate"
[tool.flit.sdist]
exclude = [
".gitignore", ".github", ".pre-commit-config.yaml", "examples/",
"Dockerfile", "entrypoint.sh",
"docs/", "docs/*"
]
[tool.pytest.ini_options]
testpaths = ["tests"]
log_cli = true
[tool.pylint.main]
load-plugins = [
# "pylint_pytest"
]
[tool.pylint.messages_control]
disable = [
"invalid-name",
"protected-access",
"too-many-instance-attributes",
"broad-exception-caught",
]
[tool.pylint.format]
max-line-length = 120
good-names = [
"_",
"l", "r", "b", "t",
"l1", "r1", "b1", "t1",
"l2", "r2", "b2", "t2",
"i", "j",
"k", "v",
"f",
]
[tool.pylint.design]
max-args = 10
max-locals = 20
max-attributes = 12