From 64e54c0d0effffaa0d2c3ff67da6f82327e4b6b7 Mon Sep 17 00:00:00 2001 From: Paddy Roddy Date: Mon, 6 Nov 2023 12:17:40 +0000 Subject: [PATCH 1/2] Remove `__init__.py` from `tests` --- pyproject.toml | 1 + tests/__init__.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 tests/__init__.py diff --git a/pyproject.toml b/pyproject.toml index ea5f12139..7299f7b31 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -127,6 +127,7 @@ per-file-ignores = {"examples*" = [ "SLF001", ], "tests*" = [ "D100", + "INP001", "S101", "SLF001", ]} diff --git a/tests/__init__.py b/tests/__init__.py deleted file mode 100644 index 6e031999e..000000000 --- a/tests/__init__.py +++ /dev/null @@ -1 +0,0 @@ -# noqa: D104 From 082274ccbe37d178ff201bff807c13654eb8a5e2 Mon Sep 17 00:00:00 2001 From: Paddy Roddy Date: Mon, 6 Nov 2023 15:12:24 +0000 Subject: [PATCH 2/2] Ignore `__init__.py` in `examples` --- examples/arbitrary/__init__.py | 1 - examples/arbitrary/africa/__init__.py | 1 - examples/arbitrary/south_america/__init__.py | 1 - examples/mesh/__init__.py | 1 - examples/misc/__init__.py | 1 - examples/polar_cap/__init__.py | 1 - examples/wavelets/__init__.py | 1 - pyproject.toml | 1 + 8 files changed, 1 insertion(+), 7 deletions(-) delete mode 100644 examples/arbitrary/__init__.py delete mode 100644 examples/arbitrary/africa/__init__.py delete mode 100644 examples/arbitrary/south_america/__init__.py delete mode 100644 examples/mesh/__init__.py delete mode 100644 examples/misc/__init__.py delete mode 100644 examples/polar_cap/__init__.py delete mode 100644 examples/wavelets/__init__.py diff --git a/examples/arbitrary/__init__.py b/examples/arbitrary/__init__.py deleted file mode 100644 index 6e031999e..000000000 --- a/examples/arbitrary/__init__.py +++ /dev/null @@ -1 +0,0 @@ -# noqa: D104 diff --git a/examples/arbitrary/africa/__init__.py b/examples/arbitrary/africa/__init__.py deleted file mode 100644 index 6e031999e..000000000 --- a/examples/arbitrary/africa/__init__.py +++ /dev/null @@ -1 +0,0 @@ -# noqa: D104 diff --git a/examples/arbitrary/south_america/__init__.py b/examples/arbitrary/south_america/__init__.py deleted file mode 100644 index 6e031999e..000000000 --- a/examples/arbitrary/south_america/__init__.py +++ /dev/null @@ -1 +0,0 @@ -# noqa: D104 diff --git a/examples/mesh/__init__.py b/examples/mesh/__init__.py deleted file mode 100644 index 6e031999e..000000000 --- a/examples/mesh/__init__.py +++ /dev/null @@ -1 +0,0 @@ -# noqa: D104 diff --git a/examples/misc/__init__.py b/examples/misc/__init__.py deleted file mode 100644 index 6e031999e..000000000 --- a/examples/misc/__init__.py +++ /dev/null @@ -1 +0,0 @@ -# noqa: D104 diff --git a/examples/polar_cap/__init__.py b/examples/polar_cap/__init__.py deleted file mode 100644 index 6e031999e..000000000 --- a/examples/polar_cap/__init__.py +++ /dev/null @@ -1 +0,0 @@ -# noqa: D104 diff --git a/examples/wavelets/__init__.py b/examples/wavelets/__init__.py deleted file mode 100644 index 6e031999e..000000000 --- a/examples/wavelets/__init__.py +++ /dev/null @@ -1 +0,0 @@ -# noqa: D104 diff --git a/pyproject.toml b/pyproject.toml index 7299f7b31..2e18e0b73 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -122,6 +122,7 @@ isort = {known-first-party = [ ]}} per-file-ignores = {"examples*" = [ "D100", + "INP001", "T201", ], "src*" = [ "SLF001",