mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
Cleaning up the Flake8 workflow (#3283)
This commit is contained in:
parent
96e9e55642
commit
f5949f2664
6
.github/workflows/lint_python.yaml
vendored
6
.github/workflows/lint_python.yaml
vendored
@ -1,7 +1,9 @@
|
||||
name: lint_python
|
||||
name: Lint Python
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
lint_python:
|
||||
name: Lint Python
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
@ -9,4 +11,6 @@ jobs:
|
||||
with:
|
||||
python_version: "3.8"
|
||||
- run: "python -m pip install flake8"
|
||||
name: Install Flake8
|
||||
- run: "python -m flake8 . --count --select=E9,F7,F82 --show-source"
|
||||
name: Flake8 Linting
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user