2022-02-25 19:39:10 +01:00
|
|
|
name: Pylint
|
|
|
|
|
2022-02-25 19:50:52 +01:00
|
|
|
on:
|
|
|
|
- push
|
|
|
|
- pull_request
|
2022-02-25 19:39:10 +01:00
|
|
|
|
|
|
|
jobs:
|
2024-03-07 17:28:05 +01:00
|
|
|
lint-ruff:
|
2022-02-25 19:39:10 +01:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
|
|
matrix:
|
2024-03-07 17:28:05 +01:00
|
|
|
python-version: ["3.11"]
|
2022-02-25 19:39:10 +01:00
|
|
|
steps:
|
2022-10-17 17:15:57 +02:00
|
|
|
- uses: actions/checkout@v3
|
2024-03-07 17:28:05 +01:00
|
|
|
- uses: actions/checkout@v3
|
|
|
|
name: Set up Python ${{ matrix.python-version }}
|
2022-02-25 19:39:10 +01:00
|
|
|
with:
|
|
|
|
python-version: ${{ matrix.python-version }}
|
2024-03-07 17:28:05 +01:00
|
|
|
- name: Analysing the code with ruff
|
2022-02-25 19:39:10 +01:00
|
|
|
run: |
|
2024-03-07 17:28:05 +01:00
|
|
|
pip install -r test-requirements.txt
|
|
|
|
ruff format --check
|