Skip to content

chore(deps): bump sqlparse from 0.4.3 to 0.4.4 #207

chore(deps): bump sqlparse from 0.4.3 to 0.4.4

chore(deps): bump sqlparse from 0.4.3 to 0.4.4 #207

Workflow file for this run

name: Lint and check project
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [3.8, 3.9]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry Action
uses: snok/[email protected]
with:
version: 1.3.1
- name: Install dependencies
run: |
poetry install
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
poetry run flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
poetry run flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
# check for black format
- name: Format according to Black
run: |
poetry run black --check .