From 9e942e6f602a21d433ffbae76f6c4b3089166e4f Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Mon, 30 Oct 2023 13:26:54 -0500 Subject: [PATCH] Fix mypy error ignores for Gitlab, do not use exclude= --- setup.cfg | 29 ++++++++++++++++++++--------- 1 file changed, 20 insertions(+), 9 deletions(-) diff --git a/setup.cfg b/setup.cfg index b174ecb99..0c76f1b7e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -13,15 +13,26 @@ multiline-quotes = """ python_version = 3.8 warn_unused_ignores = True -exclude = (?x)( - meshmode/discretization/.* - | meshmode/mesh/__init__.py - | meshmode/mesh/generation\.py - | meshmode/mesh/visualization\.py - | meshmode/mesh/refinement/.* - | meshmode/interop/.* - | meshmode/dof_array\.py - ) +[mypy-meshmode.discretization.*] +ignore_errors = True + +[mypy-meshmode.mesh] +ignore_errors = True + +[mypy-meshmode.mesh.generation] +ignore_errors = True + +[mypy-meshmode.mesh.visualization] +ignore_errors = True + +[mypy-meshmode.mesh.refinement.*] +ignore_errors = True + +[mypy-meshmode.interop.*] +ignore_errors = True + +[mypy-meshmode.dof_array] +ignore_errors = True [mypy-pyvisfile.*] ignore_missing_imports = True