-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
160 lines (149 loc) · 4.52 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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
[project]
dynamic = ["version"]
name = "boiling-learning"
description = "Deep learning models for phase-change quantification and classification"
authors = [{ name = "Ruan Comelli", email = "[email protected]" }]
license = "GPL-3.0-only"
license-files = ["LICENSE"]
readme = "README.md"
keywords = [
"automated-machine-learning",
"automl",
"deep-learning",
"machine-learning",
"phase-change",
"python",
"tensorflow",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Manufacturing",
"Intended Audience :: Financial and Insurance Industry",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Image Processing",
"Topic :: Scientific/Engineering :: Image Recognition",
"Topic :: Scientific/Engineering :: Physics",
]
requires-python = "==3.10.*"
dependencies = [
"tensorflow==2.10.*",
"tensorflow-addons==0.19.*",
"typing-extensions>=4.3.0",
"frozendict==2.3.*",
"funcy>=2.0",
"more-itertools>=9.0.0",
"numpy==1.24.*",
"parse==1.19.*",
"pint==0.22",
"scikit-image==0.20.*",
"classes==0.4.*",
"iteround>=1.0.3",
"loguru>=0.6.0",
"decord==0.6.*",
"keras-tuner==1.1.3",
"autokeras==1.0.20",
"matplotlib==3.7.1",
"seaborn[stats]==0.12.2",
"imageio[ffmpeg]==2.30.*",
"pillow==9.5.*",
"rich>=12.6.0",
"typer[all]==0.9.*",
"pandera==0.15.*",
"ffmpeg-python==0.2.*",
"scipy==1.10.*",
"pandas==2.0.*",
"h5py==3.8.*",
"uncertainties==3.1.*",
"pyyaml==6.*",
]
[project.urls]
homepage = "https://github.com/ruancomelli/boiling-learning"
issues = "https://github.com/ruancomelli/boiling-learning/issues"
repository = "https://github.com/ruancomelli/boiling-learning.git"
documentation = "https://github.com/ruancomelli/boiling_learning/blob/main/README.md"
changelog = "https://github.com/ruancomelli/boiling_learning/blob/main/CHANGELOG.md"
[dependency-groups]
ci = ["commitizen>=2.29.5", "pre-commit>=2.20.0"]
format = ["ruff>=0.9.7"]
lint = ["ruff>=0.9.7", "vulture>=2.7"]
test = ["pytest>=7.1.2", "coverage>=6.4.3"]
types = [
"mypy>=1.2.0",
"types-decorator>=5.1.8",
"types-PyYAML>=6.0.11",
# TODO: support funcy>=2 in funcy-stubs, and then re-add it:
# "funcy-stubs>=0.1.1",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch]
version.path = "boiling_learning/__init__.py"
build.targets.wheel.packages = ["boiling_learning"]
[tool.mypy]
follow_imports = "normal"
check_untyped_defs = true
disallow_any_generics = true
disallow_incomplete_defs = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_untyped_decorators = true
disallow_untyped_defs = true
ignore_missing_imports = true
no_implicit_optional = true
show_error_codes = true
strict = true
strict_equality = true
warn_redundant_casts = true
warn_return_any = true
warn_unreachable = true
warn_unused_configs = true
warn_unused_ignores = true
plugins = [
# "classes.contrib.mypy.classes_plugin",
"numpy.typing.mypy_plugin",
]
enable_incomplete_feature = ["TypeVarTuple", "Unpack"]
[tool.commitizen]
tag_format = "v$major.$minor.$patch$prerelease"
update_changelog_on_bump = true
version = "0.39.0"
version_files = ["pyproject.toml:version"]
bump_message = "chore: release $new_version"
[tool.ruff.lint]
select = [
"D", # pydocstyle
"F", # pyflakes
"I", # isort
"PL", # pylint
"RUF100", # unused-noqa-directive
"UP", # pyupgrade
]
ignore = [
"D100", # Missing docstring in public module
"D101", # Missing docstring in public class
"D102", # Missing docstring in public method
"D103", # Missing docstring in public function
"D104", # Missing docstring in public package
"D105", # Missing docstring in magic method
"D106", # Missing docstring in public nested class
"D107", # Missing docstring in __init__
"D203", # incorrect-blank-line-before-class
"D213", # multi-line-summary-second-line
"D413", # Missing blank line after last section
"PLR0912", # Too many branches
"PLR0913", # Too many arguments in function definition
]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = [
"F401", # Unused imports
]
"tests/**/*.py" = [
"D", # Documentation
"PLR2004", # Magic value used in comparison
]
[tool.ruff.lint.pydocstyle]
ignore-decorators = ["typing.overload"]