-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
45 lines (38 loc) · 899 Bytes
/
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
[project]
name = "template"
version = "0.1.0"
description = "A general purpose machine learning project template."
readme = "README.md"
authors = [
{ name = "Will Rice", email = "[email protected]" }
]
requires-python = ">=3.12"
dependencies = [
"mypy>=1.15.0",
"pre-commit>=4.1.0",
"pydocstyle>=6.3.0",
"pytest>=8.3.4",
"ruff>=0.9.7",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.ruff.lint.isort]
known-first-party = ["template"]
[tool.ruff.lint]
select = ["C", "E", "F", "I", "W", "D", "N", "B"]
ignore = ["D107"]
exclude = [".venv"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.pytest.ini_options]
filterwarnings = [
"ignore::DeprecationWarning",
]
[tool.mypy]
ignore_missing_imports = true
follow_imports_for_stubs = true
strict = true
exclude = [".venv"]
[project.scripts]
train = "template.scripts.train:main"