generated from lwaekfjlk/python-project-template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
68 lines (54 loc) · 1.27 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
[tool.poetry]
name = "gpu_bartender"
version = "0.0.1"
description = "A template for python-based research project"
authors = ["Haofei Yu <yuhaofei44@gmail.com>"]
license = "Apache 2.0 License"
readme = "README.md"
[tool.poetry.dependencies]
python = ">=3.8, <3.12"
mypy = "^1.11.1"
beartype = "*"
pydantic = "^2.9.2"
[tool.poetry.group.dev.dependencies]
pre-commit = "*"
nbmake = "*"
types-setuptools = "*"
[tool.poetry.group.test.dependencies]
pytest = "*"
pytest-asyncio = "*"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.mypy]
ignore_missing_imports = true
check_untyped_defs = true
follow_imports = "normal"
strict = true
plugins = ["pydantic.mypy"]
packages = ["gpu_bartender"]
exclude = "server"
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = "test_*.py"
[tool.codespell]
ignore-words-list = "dout, te, indicies, astroid"
skip = ["data"]
[tool.isort]
profile = "black"
use_parentheses = true
skip_gitignore = true
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
line_length = 88
[tool.black]
line-length = 88
target-version = ['py37', 'py38', 'py39', 'py310']
[tool.ruff]
line-length = 88
fix = true
target-version = "py310"
[tool.ruff.format]
quote-style = "single"
indent-style = "space"