-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
69 lines (60 loc) · 1.85 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
[build-system]
requires = ["setuptools>=64", "setuptools-scm>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "berconpy"
description = "An async wrapper for the BattlEye RCON protocol"
readme = "README.md"
requires-python = ">=3.10"
authors = [{ name = "thegamecracks" }]
license = { text = "MIT" }
classifiers = [
"Development Status :: 5 - Production/Stable",
"Framework :: AsyncIO",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Topic :: System :: Networking",
]
dynamic = ["version"]
[tool.setuptools_scm]
[project.optional-dependencies]
docs = ["sphinx>=5.1.1", "sphinx-autodoc-typehints>=1.19.2"]
tests = ["pytest>=7.2.2", "coverage>=7.2.1"]
types = ["typing-extensions>=4.0.0"]
[project.urls]
"Homepage" = "https://github.com/thegamecracks/berconpy"
"Documentation" = "http://berconpy.readthedocs.io/"
"Issue Tracker" = "https://github.com/thegamecracks/berconpy/issues"
[tool.coverage.run]
branch = true
source_pkgs = ["berconpy"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"if (typing\\.)?TYPE_CHECKING:",
"if __name__ == \"__main__\":",
"\\s*\\.\\.\\.$",
"raise NotImplementedError",
"def __repr__",
]
include_namespace_packages = true
[tool.mypy]
allow_redefinition = true
[tool.pyright]
include = ["src"]
# typeCheckingMode = "strict"
# reportImportCycles = "none"
# reportMissingParameterType = "none"
# reportMissingTypeArgument = "none"
# reportPrivateUsage = "none"
# reportUnknownArgumentType = "none"
# reportUnknownMemberType = "none"
# reportUnknownParameterType = "none"
# reportUnknownVariableType = "none"
# reportUnusedImport = "none"
typeCheckingMode = "basic"
[tool.pytest.ini_options]
addopts = ["--import-mode=prepend"]