Skip to content

fix line number detection bug with empty lines #433

fix line number detection bug with empty lines

fix line number detection bug with empty lines #433

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: Lint
on:
workflow_dispatch:
push:
paths:
- '**'
- '!**.md'
- '!doc/**'
- '!**.txt'
- '!LICENSE'
- 'test/**'
branches: ['main', 'release-*']
pull_request:
jobs:
flake8_py3:
runs-on: ubuntu-latest
steps:
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: '3.9'
architecture: x64
- name: Checkout
uses: actions/checkout@v2
- name: Install flake8
run: pip install flake8
- name: Run flake8
uses: suo/flake8-github-action@releases/v1
with:
checkName: 'flake8_py3' # NOTE: this needs to be the same as the job name
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}