Skip to content

Commit 6dce96c

Browse files
committed
Switch to pylint
1 parent 45c29c9 commit 6dce96c

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

.github/workflows/scripts.yml

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,10 @@ jobs:
3030
with:
3131
python-version: ${{ matrix.python-version }}
3232

33-
- name: Create and activate virtual environment
34-
run: |
35-
python -m venv venv
36-
source venv/bin/activate
37-
pip install --upgrade pip
38-
pip install flake8
39-
pip install gql websockets simconnect
40-
4133
- name: Install dependencies
4234
run: |
43-
python -m pip install --upgrade pip
44-
pip install gql websockets simconnect flake8
35+
pip install --upgrade pip
36+
pip install pylint gql websockets simconnect
4537
46-
- name: Run flake8 on Scripts folder
47-
run: |
48-
flake8 Scripts --count --select=E9,F63,F7,F82 --show-source
38+
- name: Run linter on the Scripts folder
39+
run: python -m pylint Scripts --disable=all --enable=F,E

0 commit comments

Comments
 (0)