forked from Crivella/AITW_microstructures
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
99 lines (87 loc) · 1.9 KB
/
Copy pathpyproject.toml
File metadata and controls
99 lines (87 loc) · 1.9 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
87
88
89
90
91
92
93
94
95
96
97
98
99
[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_wood_microstructure"
dynamic = ["version"]
description = "A Python rewrite of Wood-Microstructure-Modeling"
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 = ["birch", "wood", "microstructure"]
requires-python = ">=3.10"
dependencies = [
"numpy",
"scipy",
"pillow",
"requests",
"trogon", "click",
"rich", "rich-click",
"pynrrd",
# "multiprocess",
]
[project.urls]
Source = "https://github.com/AI-TranspWood/AITW_microstructures"
[project.optional-dependencies]
surrogate = [
"torch",
]
utils = [
"matplotlib",
"mayavi",
]
pre-commit = [
"pre-commit",
"pylint",
]
release = [
"flit"
]
[project.scripts]
wood_ms = "wood_microstructure.cli.main:wood_microstructure"
[tool.flit.module]
name = "wood_microstructure"
[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