-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
80 lines (70 loc) · 2.06 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
[build-system]
build-backend = "setuptools.build_meta"
requires = ["setuptools>=61.0.0", "setuptools_scm[toml]>=7.0.0"]
[project]
authors = [
{name = "Nuztalgia"},
{email = "[email protected]"}
]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Communications :: Chat",
"Topic :: Security :: Cryptography",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Utilities",
"Typing :: Typed"
]
description = "An easy-to-use utility toolbelt for Discord bots written in Python."
dynamic = ["dependencies", "optional-dependencies", "urls", "version"]
keywords = ["bot", "cli", "discord", "encryption", "security", "token", "utilities"]
license = {text = "Apache-2.0"}
name = "botstrap"
readme = "README.md"
requires-python = ">=3.10"
[project.scripts]
botstrap = "botstrap.cli:main"
[tool.black]
target-version = ["py311"]
[tool.isort]
extend_skip = ["examples"]
profile = "black"
[tool.pydocstyle]
add-ignore = "D417"
convention = "google"
match = "botstrap/.*\\.py"
[tool.pytest.ini_options]
addopts = [
"--cov-config=tests/.coverage.ini",
"--cov-fail-under=100",
"--doctest-modules",
"--ignore=botstrap/colors.py",
"--ignore=botstrap/internal/clisession.py",
"--strict-config",
"--strict-markers"
]
filterwarnings = ["error"]
required_plugins = ["pytest-cov", "pytest-repeat"]
testpaths = ["botstrap", "tests"]
[tool.setuptools]
include-package-data = false
packages = ["botstrap", "botstrap.cli", "botstrap.internal"]
[tool.setuptools_scm]
local_scheme = "no-local-version"
[tool.tox]
legacy_tox_ini = """
[testenv]
commands = {envpython} -m pytest --count=5 --cov {posargs}
extras = tests
[testenv:docs]
commands = mkdocs build --strict {posargs}
deps = -rdocs/requirements.txt
skip_install = true
"""