-
-
Notifications
You must be signed in to change notification settings - Fork 39
/
pyproject.toml
107 lines (95 loc) · 2.78 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
[tool.poetry]
name = "steamio"
version = "0.8.3"
description = "A Python wrapper for the Steam API"
authors = ["Gobot1234"]
license = "MIT"
readme = "README.md"
keywords = ["steam.py", "steam", "steamio", "steam-api"]
classifiers=[
"Development Status :: 5 - Production/Stable",
"Framework :: AsyncIO",
"Intended Audience :: Developers",
"Natural Language :: English",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
]
include = [
"LICENSE",
"steam/__metadata__.py",
"steam/py.typed",
"steam/ext/__init__.pyi",
]
packages = [
{ include = "steam" },
]
[tool.poetry.build]
script = "build.py"
generate-setup-file = false
[tool.poetry.urls]
"Documentation" = "https://steampy.readthedocs.io/en/latest"
"Code" = "https://github.com/Gobot1234/steam.py"
"Bug Tracker" = "https://github.com/Gobot1234/steam.py/issues"
[tool.poetry.dependencies]
python = "^3.7"
aiohttp = ">=3.7,<3.9"
beautifulsoup4 = "^4.10.0"
cryptography = "^36"
betterproto = "2.0.0b3"
typing-extensions = "4.0.1"
tomli = "~1"
# docs option
sphinx = { version = "^4.2.0", optional = true }
"myst-parser" = { version = "^0.15", optional = true }
mypy = { version = "^0.910", optional = true }
sphinxcontrib_trio = { version = "1.1.2", optional = true }
csscompressor = { version = "*", optional = true }
htmlmin = { version = "*", optional = true }
rjsmin = { version = "*", optional = true }
[tool.poetry.extras]
docs = ["sphinx", "myst-parser", "mypy", "sphinxcontrib_trio", "csscompressor", "htmlmin", "rjsmin"]
[tool.poetry.dev-dependencies]
black = "^21.8b0"
isort = "*"
flake8 = "*"
pytest = "*"
pytest-asyncio = "*"
mypy = "^0.910"
[tool.black]
line-length = 120
[tool.isort]
profile = "black"
line_length = 120
combine_as_imports = true
atomic = true
ensure_newline_before_comments = true
[tool.mypy]
ignore_missing_imports = true
strict_optional = false
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
allow_redefinition = true
show_error_codes = true
warn_no_return = false
pretty = true
files = "steam/*.py, steam/ext/commands/*.py, steam/protobufs/__init__.py, steam/protobufs/headers.py"
exclude = "venv, .venv"
[tool.pyright]
typeCheckingMode = "basic"
reportSelfClsParameterName = "none"
reportUntypedFunctionDecorator = "error"
reportUntypedClassDecorator = "error"
reportUntypedNamedTuple = "error"
reportImplicitStringConcatenation = "none" # I like to use this a fair bit
reportOverlappingOverload = "error"
reportMissingTypeArgument = "error"
venv = ".venv"
[tool.pytest.ini_options]
testpaths = ["tests"]
[build-system]
requires = ["poetry-core>=1.0.0", "tomli"]
build-backend = "poetry.core.masonry.api"