mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 19:28:54 -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]
|
on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint_python:
|
lint_python:
|
||||||
|
name: Lint Python
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
@ -9,4 +11,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
python_version: "3.8"
|
python_version: "3.8"
|
||||||
- run: "python -m pip install flake8"
|
- run: "python -m pip install flake8"
|
||||||
|
name: Install Flake8
|
||||||
- run: "python -m flake8 . --count --select=E9,F7,F82 --show-source"
|
- run: "python -m flake8 . --count --select=E9,F7,F82 --show-source"
|
||||||
|
name: Flake8 Linting
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user