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
|
|
|
|
steps:
|
2022-10-17 17:15:57 +02:00
|
|
|
- uses: actions/checkout@v3
|
2024-03-08 10:36:57 +01:00
|
|
|
- name: Set up Python 3.10
|
|
|
|
uses: actions/setup-python@v4
|
2022-02-25 19:39:10 +01:00
|
|
|
with:
|
2024-03-08 10:36:57 +01:00
|
|
|
python-version: "3.11"
|
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
|