diff --git a/docs/.readthedocs.yml b/.readthedocs.yml similarity index 89% rename from docs/.readthedocs.yml rename to .readthedocs.yml index be0c8060..baf8cf8a 100644 --- a/docs/.readthedocs.yml +++ b/.readthedocs.yml @@ -24,6 +24,4 @@ sphinx: python: install: - method: pip - path: . - extra_requirements: - - docs \ No newline at end of file + requirements: docs/requirements.txt diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 00000000..b39aed29 --- /dev/null +++ b/pyproject.toml @@ -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" +] \ No newline at end of file