diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a7a333e..8f35b82 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -11,7 +11,7 @@ repos: - id: end-of-file-fixer - repo: https://github.com/pre-commit/mirrors-mypy - rev: 'v1.15.0' + rev: 'v1.17.1' hooks: - id: mypy diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..b611d3f --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,9 @@ +[build-system] +requires = [ + "setuptools", + "setuptools-scm[toml]", +] +build-backend = "setuptools.build_meta" + +[tool.setuptools_scm] +write_to = "src/pytest_reportlog/_version.py"