-
-
Notifications
You must be signed in to change notification settings - Fork 59
29 lines (24 loc) · 594 Bytes
/
Copy pathlint.yml
File metadata and controls
29 lines (24 loc) · 594 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: lint
on:
push:
branches: ["stable"]
paths:
- 'tests/test_MetaDetective.py'
- 'src/MetaDetective/MetaDetective.py'
pull_request:
branches: ["stable"]
paths:
- 'tests/test_MetaDetective.py'
- 'src/MetaDetective/MetaDetective.py'
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install flake8
run: pip install flake8
- name: Check PEP8 compliance
run: flake8 . --count --ignore=E501