-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added pyproject.toml & Moved readthedocs config to toplevel
Signed-off-by: Omkar Phansopkar <omkarphansopkar@gmail.com>
- Loading branch information
Showing
2 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
[build-system] | ||
requires = ["setuptools >= 50", "wheel", "setuptools_scm[toml] >= 6"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[tool.setuptools_scm] | ||
# this is used populated when creating a git archive | ||
# and when there is .git dir and/or there is no git installed | ||
fallback_version = "9999.$Format:%h-%cs$" | ||
|
||
[tool.pytest.ini_options] | ||
norecursedirs = [ | ||
".git", | ||
"bin", | ||
"dist", | ||
"build", | ||
"_build", | ||
"dist", | ||
"etc", | ||
"local", | ||
"ci", | ||
"docs", | ||
"man", | ||
"share", | ||
"samples", | ||
".cache", | ||
".settings", | ||
"Include", | ||
"include", | ||
"Lib", | ||
"lib", | ||
"lib64", | ||
"Lib64", | ||
"Scripts", | ||
"thirdparty", | ||
"tmp", | ||
"venv", | ||
"tests/data", | ||
".eggs", | ||
"src/*/data", | ||
"tests/*/data" | ||
] | ||
|
||
python_files = "*.py" | ||
|
||
python_classes = "Test" | ||
python_functions = "test" | ||
|
||
addopts = [ | ||
"-rfExXw", | ||
"--strict-markers", | ||
"--doctest-modules" | ||
] |