-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpyproject.toml
48 lines (38 loc) · 976 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
46
47
48
[tool.poetry]
name = "pokemon-icat"
version = "1.0.0"
description = "Shows any Pokémon sprite in your terminal!"
authors = ["Your Name <[email protected]>"]
license = "GPL-3.0"
readme = "README.md"
[tool.poetry.dependencies]
python = ">=3.9,<3.14"
aiohttp = "^3.10.6"
pillow = "^10.4.0"
python-slugify = "^8.0.4"
rich = "^13.8.1"
[tool.poetry.group.dev.dependencies]
pre-commit = "^3.8.0"
ruff = "^0.6.8"
mypy = "^1.11.2"
types-pillow = "^10.2.0.20240822"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.mypy]
follow_imports = "silent"
warn_redundant_casts = true
warn_unused_ignores = true
disallow_any_generics = true
check_untyped_defs = true
no_implicit_reexport = true
# for strict mypy: (this is the tricky one :-))
disallow_untyped_defs = true
[tool.pydantic-mypy]
init_forbid_extra = true
init_typed = true
warn_required_dynamic_aliases = true
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = ["F", "I", "UP"]