From 0bd0b2a26fd6afaef5cdc4b6398d867a2e3211c2 Mon Sep 17 00:00:00 2001 From: Mike Taves Date: Fri, 19 Jan 2024 13:01:35 +1300 Subject: [PATCH] Exclude docs from/ mypy checks, ignore .vscode/ --- .gitignore | 1 + .pre-commit-config.yaml | 1 + pyproject.toml | 1 + 3 files changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 84ba9f6c..970655b7 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ lib .coverage .tox wheelhouse +.vscode/ diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index dc6f78b0..3ac22aba 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -17,3 +17,4 @@ repos: rev: v1.5.1 hooks: - id: mypy + exclude: 'docs/.' diff --git a/pyproject.toml b/pyproject.toml index 84873643..de6813b2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -101,5 +101,6 @@ skip_gitignore = true color_output = true [tool.mypy] +exclude = ["docs", "build"] ignore_missing_imports = true show_error_codes = true