summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorAndi Albrecht <albrecht.andi@gmail.com>2021-09-10 09:30:28 +0200
committerAndi Albrecht <albrecht.andi@gmail.com>2021-09-10 09:30:28 +0200
commitc9bcd0bdb3c9275b5e8312278ec59cfa7b6e9f1f (patch)
treee967f84d6c2fcf133d88a227a63184aa703d1377 /.github/workflows
parent611c91d58342593d31136c84d12576ca5367b32c (diff)
downloadsqlparse-c9bcd0bdb3c9275b5e8312278ec59cfa7b6e9f1f.tar.gz
CI: Fix flake8 command.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/python-app.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml
index c959087..8204746 100644
--- a/.github/workflows/python-app.yml
+++ b/.github/workflows/python-app.yml
@@ -31,9 +31,9 @@ jobs:
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
- flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics sqlparse
+ flake8 sqlparse --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
- flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics sqlparse
+ flake8 sqlparse --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics sqlparse
- name: Test with pytest
run: |
pytest --cov=sqlparse