aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-11-22 11:37:41 +0200
committerGravatar GitHub <[email protected]>2020-11-22 11:37:41 +0200
commit6d0c1e52957581cd4904ffb54a0015a15af639f3 (patch)
tree28c707101d96efb7ee19f8903f07d737a0940e8b
parentFix flake8 step command and remove path adding step (diff)
Run flake8 in Poetry environment for CI lint
-rw-r--r--.github/workflows/forms-backend.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/forms-backend.yml b/.github/workflows/forms-backend.yml
index c7ac36b..af23e5d 100644
--- a/.github/workflows/forms-backend.yml
+++ b/.github/workflows/forms-backend.yml
@@ -43,7 +43,7 @@ jobs:
# This implemention allows showing linting errors in PRs under Files tab.
- name: Run flake8
- run: "flake8 --format='::error file=%(path)s,line=%(row)d,col=%(col)d::[flake8] %(code)s: %(text)s'"
+ run: "poetry run flake8 --format='::error file=%(path)s,line=%(row)d,col=%(col)d::[flake8] %(code)s: %(text)s'"
build:
name: Build & Push