From 3864382e1be9adc548f538a91ea7bf23ed230808 Mon Sep 17 00:00:00 2001 From: Matteo Campinoti Date: Tue, 12 Sep 2023 11:20:23 +0200 Subject: [PATCH] workflows:linting - ignore F401 in __init__.py files Used to export from submodules and should not throw an error --- .github/workflows/linting.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml index dd48ddd..a2aa2af 100644 --- a/.github/workflows/linting.yml +++ b/.github/workflows/linting.yml @@ -32,6 +32,6 @@ jobs: poetry install - name: Run flake8, black, and mypy run: | - poetry run flake8 + poetry run flake8 --per-file-ignores='__init__.py:F401' poetry run black --check . poetry run mypy .