-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
78 lines (67 loc) · 2.07 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
69
70
71
72
73
74
75
76
77
78
[tool.poetry]
name = "asyncprawcore-stubs"
version = "0.0.1"
description = "Python stubs for AsyncPRAWCore, a Low-level asynchronous communication layer for Async PRAW"
authors = ["Yoshikage Kira"]
license = "MIT"
readme = "README.md"
packages = [{ include = "asyncprawcore-stubs", from = "src" }]
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
]
[project.urls]
Homepage = "https://github.com/isFakeAccount/asyncprawcore-stubs"
Repository = "https://github.com/isFakeAccount/asyncprawcore-stubs.git"
Issues = "https://github.com/isFakeAccount/asyncprawcore-stubs/issues"
Readme = "https://github.com/isFakeAccount/asyncprawcore-stubs/blob/master/README.md"
[tool.poetry.dependencies]
python = "^3.9"
aiohttp = "^3.9.3"
[tool.poetry.group.linting.dependencies]
black = "^23.3.0"
ruff = "^0.3.5"
docstrfmt = "^1.6.1"
[tool.poetry.group.typing.dependencies]
pyright = "^1.1.356"
mypy = "^1.9.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.mypy]
strict = true
check_untyped_defs = true
disallow_any_generics = true
no_implicit_optional = true
show_error_codes = true
strict_equality = true
warn_redundant_casts = true
warn_return_any = true
warn_unreachable = true
warn_unused_configs = true
no_implicit_reexport = true
ignore_missing_imports = true
exclude = [".venv", "venv"]
[tool.pyright]
exclude = [".venv", "venv"]
pythonVersion = "3.9"
reportImportCycles = false
reportIncompatibleMethodOverride = false
reportPrivateUsage = false
reportWildcardImportFromLibrary = false
typeCheckingMode = "strict"
venvPath = ".venv"
[tool.black]
line-length = 160
[tool.ruff]
line-length = 160
[tool.ruff.lint]
select = ["E", "F", "I001", "I002"]