@@ -14,6 +14,7 @@ readme = "README.md"
1414requires-python = " >=3.7"
1515license = { text = " Apache-2.0" }
1616authors = [{
name =
" Splunk, Inc." ,
email =
" [email protected] " }]
17+ keywords = [" splunk" , " sdk" ]
1718classifiers = [
1819 " Programming Language :: Python :: 3" ,
1920 " Programming Language :: Python :: 3.7" ,
@@ -29,14 +30,17 @@ classifiers = [
2930
3031dependencies = [" deprecation" , " python-dotenv" ]
3132
33+
3234[dependency-groups ]
33- test = [" tox" ]
34- lint = [" mypy" , " ruff" ]
3535build = [" build" , " twine" ]
36+ docs = [" sphinx" , " jinja2" ]
37+ lint = [" mypy" , " ruff" ]
38+ test = [" pytest" , " pytest-cov" ]
3639dev = [
3740 { include-group = " test" },
3841 { include-group = " lint" },
3942 { include-group = " build" },
43+ { include-group = " docs" },
4044]
4145
4246[build-system ]
@@ -59,31 +63,3 @@ select = [
5963 " ANN" , # flake8 type annotations
6064 " RUF" , # ruff-specific rules
6165]
62-
63- # ! TODO: Migrate to new config paradigm
64- # https://tox.wiki/en/latest/config.html#pyproject-toml-ini
65- [tool .tox ]
66- legacy_tox_ini = """
67- [tox]
68- envlist = docs,py{37,39,313}
69- skipsdist = {env:TOXBUILD:false}
70-
71- [testenv]
72- passenv = LANG
73- setenv = SPLUNK_HOME=/opt/splunk
74- allowlist_externals = make
75- deps = pytest
76- pytest-cov
77- python-dotenv
78-
79- distdir = build
80- commands =
81- {env:TOXBUILD:python -m pytest --cov --cov-config=.coveragerc} {posargs}
82-
83- [testenv:docs]
84- description = Build the static HTML docs
85- basepython = python3.9
86- deps = sphinx >= 1.7.5, < 2
87- jinja2 < 3.1.0
88- commands = make -C docs/ html
89- """
0 commit comments