diff --git a/.cruft.json b/.cruft.json index 9c36686..8adf96b 100644 --- a/.cruft.json +++ b/.cruft.json @@ -1,6 +1,6 @@ { "template": "https://github.com/ecmwf-projects/cookiecutter-conda-package", - "commit": "280417918dc86a2f2be417c8877a590c07cf2a1c", + "commit": "e0b3ca46de9e2e6b8e7f2a2cdb1baa61c6cc0d9f", "checkout": null, "context": { "cookiecutter": { @@ -11,6 +11,7 @@ "copyright_year": "2022", "mypy_strict": "True", "integration_tests": "False", + "pypi": true, "_template": "https://github.com/ecmwf-projects/cookiecutter-conda-package" } }, diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index fbf81cf..ab79500 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,7 +18,7 @@ repos: - id: blackdoc additional_dependencies: [black==23.11.0] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.3.7 + rev: v0.6.8 hooks: - id: ruff args: [--fix, --show-fixes] @@ -30,14 +30,14 @@ repos: hooks: - id: mdformat - repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks - rev: v2.13.0 + rev: v2.14.0 hooks: - id: pretty-format-yaml args: [--autofix, --preserve-quotes] - id: pretty-format-toml args: [--autofix] - repo: https://github.com/gitleaks/gitleaks - rev: v8.18.2 + rev: v8.19.3 hooks: - id: gitleaks - repo: https://github.com/nbQA-dev/nbQA diff --git a/docs/conf.py b/docs/conf.py index ce590a9..b35c09a 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -37,8 +37,10 @@ autodoc_typehints = "none" # autoapi configuration +autoapi_add_toctree_entry = False autoapi_dirs = ["../c3s_eqc_toolbox_template"] autoapi_ignore = ["*/version.py"] +autoapi_member_order = "groupwise" autoapi_options = [ "members", "inherited-members", diff --git a/pyproject.toml b/pyproject.toml index 49baa12..2b0b1ba 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,6 @@ [build-system] -requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2"] +build-backend = "setuptools.build_meta" +requires = ["setuptools>=64", "setuptools_scm>=8"] [project] classifiers = [