From 2e0de65cd239aa227e61b6b5c026f92c4aa51ea2 Mon Sep 17 00:00:00 2001 From: Sebastien Roy Date: Tue, 1 Oct 2024 15:28:11 -0400 Subject: [PATCH 1/2] _static is added to the list by default --- docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 2fd8c07..484ac54 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -23,7 +23,7 @@ # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output html_theme = "furo" -html_static_path = ["_static"] +html_static_path = [] # Breathe configuration From 2bfa5fa086688b08a8d2b7752d9253d9a474cb90 Mon Sep 17 00:00:00 2001 From: Sebastien Roy Date: Tue, 1 Oct 2024 16:15:14 -0400 Subject: [PATCH 2/2] minor fixes to mypy --- .pre-commit-config.yaml | 2 +- Makefile | 2 +- docs/conf.py | 2 +- pyproject.toml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 73543af..1ae3d1b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -34,7 +34,7 @@ repos: rev: v1.9.0 hooks: - id: mypy - args: ["--config", "pyproject.toml"] + args: ["--config-file", "pyproject.toml"] # Misc - repo: https://github.com/codespell-project/codespell rev: v2.2.4 diff --git a/Makefile b/Makefile index 4d2d966..014b335 100644 --- a/Makefile +++ b/Makefile @@ -80,4 +80,4 @@ clean: .PHONY: pre-commit-setup pre-commit-setup: - pre-commit install \ No newline at end of file + pre-commit install diff --git a/docs/conf.py b/docs/conf.py index 484ac54..c4fd6a6 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -23,7 +23,7 @@ # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output html_theme = "furo" -html_static_path = [] +html_static_path = [] # type: ignore # Breathe configuration diff --git a/pyproject.toml b/pyproject.toml index 42a6710..5657057 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -85,7 +85,7 @@ strict_optional = true ignore_missing_imports = true explicit_package_bases = true -exclude = [] +exclude = ["docs", "build"] [tool.ruff] exclude = [