This repository has been archived by the owner on May 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
90 lines (81 loc) · 2.45 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
[tool.poetry]
name = "steam-ext-csgo"
version = "1.0.0a"
description = "An extension for steam.py to interact with the Counter Strike-Global Offensive Game Coordinator"
authors = ["Gobot1234"]
license = "MIT"
keywords=["csgo", "steam.py", "steam", "steamio", "steam-api"]
classifiers=[
"Development Status :: 2 - Alpha",
"Framework :: AsyncIO",
"License :: OSI Approved :: MIT License",
"Intended Audience :: Developers",
"Natural Language :: English",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
]
packages = [
{ include = "steam" }
]
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/Gobot1234/steam-ext-csgo/issues"
[tool.poetry.dependencies]
python = "^3.10"
steamio = {git="https://github.com/Gobot1234/steam.py", rev="main"}
[tool.poetry.group.dev.dependencies]
black = "^22.3"
isort = "^5.10"
poethepoet = "^0.13"
[tool.poetry.group.docs.dependencies]
sphinx = "^4.5"
furo = "^2022.4.7"
mypy = "^0.942"
sphinxcontrib_trio = "^1.1.2"
sphinx-copybutton = "^0.5.0"
sphinx-codeautolink = "^0.10.0"
myst-parser = "^0.17.2"
[tool.poe.tasks]
_black = "black ."
_isort = "isort ."
fmt = ["_black", "_isort"]
doc = "sphinx-build -b html -n -T -W --keep-going docs/ docs/_build"
[tool.black]
line-length = 120
[tool.isort]
profile = "black"
line_length = 120
combine_as_imports = true
atomic = true
ensure_newline_before_comments = true
[tool.pyright]
typeCheckingMode = "basic"
pythonVersion = "3.10"
useLibraryCodeForTypes = true
exclude = ["tests", "steam/ext/commands"]
reportSelfClsParameterName = "none"
reportUntypedFunctionDecorator = "error"
reportUntypedClassDecorator = "error"
reportUntypedNamedTuple = "error"
reportImplicitStringConcatenation = "error"
reportOverlappingOverload = "error"
reportMissingTypeArgument = "error"
strictListInference = true
strictDictionaryInference = true
strictSetInference = true
strictParameterNoneValue = true
reportMissingImports = "error"
reportUnusedImport = "error"
reportFunctionMemberAccess = "warning"
reportDuplicateImport = "error"
reportUnnecessaryTypeIgnoreComment = "warning"
reportUnknownParameterType = "error"
reportUnknownReturnType = "error"
# reportUnknownArgumentType = "error"
reportUnknownMemberType = "error"
reportUnnecessaryComparison = true
reportUnnecessaryContains = true
[build-system]
requires = ["poetry-core>=1.1.0"]
build-backend = "poetry.core.masonry.api"