Skip to content

Commit 3458c83

Browse files
author
Yari's Apple Minion
committed
Aggiungi workflow per il controllo PEP 8 con flake8
1 parent 1d9235e commit 3458c83

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

workflows/pep8-check.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: PEP 8 Check
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
pep8:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- name: Checkout repository
11+
uses: actions/checkout@v2
12+
13+
- name: Set up Python
14+
uses: actions/setup-python@v2
15+
with:
16+
python-version: '3.x'
17+
18+
- name: Install flake8
19+
run: |
20+
python -m pip install --upgrade pip
21+
pip install flake8
22+
23+
- name: Run flake8
24+
run: |
25+
flake8 .

0 commit comments

Comments
 (0)