Add flake8 action
This commit is contained in:
parent
8da46278e1
commit
b3ea7ade46
1 changed files with 17 additions and 0 deletions
17
.github/workflows/python-lint.yml
vendored
Normal file
17
.github/workflows/python-lint.yml
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
name: flake8 Lint
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
flake8-lint:
|
||||
runs-on: ubuntu-latest
|
||||
name: Lint
|
||||
steps:
|
||||
- name: Check out source repository
|
||||
uses: actions/checkout@v3
|
||||
- name: Set up Python environment
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: "3.11"
|
||||
- name: flake8 Lint
|
||||
uses: py-actions/flake8@v2
|
Loading…
Add table
Add a link
Reference in a new issue