From 9de2b47e05be207ffe629e1c76e3978f585bf7a5 Mon Sep 17 00:00:00 2001 From: Guido Riembauer Date: Thu, 15 Aug 2024 08:55:56 +0200 Subject: [PATCH] adapt linting --- .flake8 | 1 + .github/workflows/linting.yml | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.flake8 b/.flake8 index 1d80093..2afa5b0 100644 --- a/.flake8 +++ b/.flake8 @@ -16,3 +16,4 @@ per-file-ignores = ./i.sentinel_2.autotraining/i.sentinel_2.autotraining.py: E501,F821 ./i.sentinel_2.parallel.index/i.sentinel_2.parallel.index.py: E501,F821 ./i.sentinel_2.sen2cor/i.sentinel_2.sen2cor.py: E501,F821 + ./i.sentinel_2.ndvidiff/i.sentinel_2.ndvidiff.py: E501,F821 diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml index e2f4dbf..199c06d 100644 --- a/.github/workflows/linting.yml +++ b/.github/workflows/linting.yml @@ -1,8 +1,11 @@ name: Python Flake8, black and pylint code quality check -on: [push] +on: [push, pull_request] jobs: lint: uses: mundialis/github-workflows/.github/workflows/linting.yml@main + with: + VALIDATE_HTML: false +