From 8c31339d4cf564878230996162191b8394222c41 Mon Sep 17 00:00:00 2001 From: Talley Lambert Date: Sun, 24 Jul 2022 14:17:00 -0400 Subject: [PATCH] update lint --- .pre-commit-config.yaml | 3 ++- pyproject.toml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 17a3f9f..d76a03c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -23,7 +23,6 @@ repos: additional_dependencies: - flake8-typing-imports>=1.9.0 - flake8-pyprojecttoml - args: ["--min-python-version=3.8.0"] - repo: https://github.com/tlambert03/napari-plugin-checks rev: v0.2.0 @@ -34,3 +33,5 @@ repos: rev: v0.971 hooks: - id: mypy + exclude: scripts + diff --git a/pyproject.toml b/pyproject.toml index faf0f26..0584935 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -141,10 +141,11 @@ filterwarnings = [ ] [tool.mypy] +files = "napari_aicsimageio/*.py" ignore_missing_imports = true disallow_untyped_defs = true check_untyped_defs = true - +show_error_codes = true # https://flake8.pycqa.org/en/latest/user/options.html # https://gitlab.com/durko/flake8-pyprojecttoml