-
Notifications
You must be signed in to change notification settings - Fork 594
35 lines (29 loc) · 1.05 KB
/
pylint.yml
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
30
31
32
33
34
35
name: Pylint
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.11"]
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install requests 'pylint<=3.2.7'
- name: Analysing the code known to be pylint clean
run: |
pylint __init__.py dialects/__init__.py dialects/v09/__init__.py dialects/v09/python2/__init__.py \
dialects/v10/__init__.py dialects/v10/python2/__init__.py dialects/v20/__init__.py \
examples/__init__.py generator/__init__.py tests/test_mavxml.py tools/__init__.py \
mavftp.py mavftp_op.py examples/mavftp_example.py examples/status_msg.py tests/test_mavftp.py \
tests/test_mavxml.py
# $(git ls-files '*.py')