-
Notifications
You must be signed in to change notification settings - Fork 8
/
pyproject.toml
54 lines (44 loc) · 1.34 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
[tool.poetry]
name = "gpytranslate"
version = "2.0.0"
description = "A Python3 library for translating text using Google Translate API."
authors = ["Davide Galilei <[email protected]>"]
maintainers = ["Davide Galilei <[email protected]>"]
license = "MIT"
readme = "README.md"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
[tool.poetry.dependencies]
python = ">=3.9"
httpx = {extras = ["socks"], version = "^0.28.0"}
aiofiles = "^24.1.0"
typing-extensions = "^4.12.2"
[tool.poetry.group.dev.dependencies]
pytest-asyncio = "^0.24.0"
types-aiofiles = "^24.1.0.20240626"
mypy = "^1.13.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
[project.urls]
"Homepage" = "https://github.com/DavideGalilei/gpytranslate"
"Bug Tracker" = "https://github.com/DavideGalilei/gpytranslate/issues"
[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.ruff]
line-length = 120
[tool.ruff.lint]
select = ["F", "I", "UP"]