-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
61 lines (52 loc) · 1.13 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
[tool.poetry]
name = "until-zero"
version = "0.2.1"
description = ""
authors = ["u8slvn <u8slvn@gmail.com>"]
license = "MIT"
readme = "README.md"
packages = [{include = "until_zero"}]
[tool.poetry.dependencies]
python = ">=3.11, <3.13"
playsound = "1.2.2"
pyglet = "^2.0.9"
pyinstaller = "^5.13.0"
pillow = "9.5.0"
pyinstaller-versionfile = {version = "^2.1.1", extras = ["build"]}
[tool.poetry.group.dev.dependencies]
pre-commit = "^3.3.3"
mypy = "^1.4.1"
types-pillow = "^10.0.0.1"
pytest = "^7.4.0"
pytest-mock = "^3.11.1"
pytest-cov = "^4.1.0"
types-playsound = "^1.3.1.3"
freezegun = "^1.5.1"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.mypy]
files = "until_zero"
mypy_path = "until_zero"
[tool.black]
line_length = 99
[tool.ruff]
fix = true
line-length = 99
extend-select = [
"I", # isort
]
[tool.ruff.isort]
force-single-line = true
lines-between-types = 1
lines-after-imports = 2
required-imports = [
"from __future__ import annotations",
]
[tool.coverage.report]
exclude_lines = [
"if TYPE_CHECKING:",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = ["--cov=until_zero"]