From 2e21ea08d9ff363c9ebcb830b6820c0e67c7b32e Mon Sep 17 00:00:00 2001 From: Teschl <69400012+Teschl@users.noreply.github.com> Date: Wed, 7 Aug 2024 13:41:39 +0200 Subject: [PATCH] Switch lint to flake8 --- .github/workflows/ci.yaml | 7 +++++-- src/topotoolbox/__init__.py | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 7b851fa..dcfaf25 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -54,8 +54,11 @@ jobs: pip install matplotlib pip install rasterio - - name: Run pylint - run: pylint src/topotoolbox/ + - name: Run flake8 + run: flake8 src/topotoolbox + + #- name: Run pylint + # run: pylint src/topotoolbox/ - name: Run type checks run: mypy --follow-imports=skip --ignore-missing-imports src/topotoolbox diff --git a/src/topotoolbox/__init__.py b/src/topotoolbox/__init__.py index cc6a100..2482169 100644 --- a/src/topotoolbox/__init__.py +++ b/src/topotoolbox/__init__.py @@ -1,2 +1,2 @@ -from .grid_object import * -from .utils import * +from .grid_object import * # noqa +from .utils import * # noqa