Skip to content

Keep an extra file in ~/.cache/lutris when in the process of logging … #324

Keep an extra file in ~/.cache/lutris when in the process of logging …

Keep an extra file in ~/.cache/lutris when in the process of logging … #324

Workflow file for this run

on: [push, pull_request]
name: Static Analysis
jobs:
mypy-checker:
name: Mypy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Print current dir
run: pwd
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install Ubuntu dependencies
run: |
sudo apt update
sudo apt-get install libdbus-1-dev pkg-config libgirepository1.0-dev
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
make req-python
make dev
- name: Run mypy analysis
run: |
mypy --version
mypy .
ruff-checker:
name: Ruff
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
make dev
- name: Check code style
run:
ruff --version
ruff check .
- name: Check format
continue-on-error: true # TODO remove this line when format is applied
run: ruff format . --check