Skip to content

IMPROVEMENT: Portuguse translation #389

IMPROVEMENT: Portuguse translation

IMPROVEMENT: Portuguse translation #389

Workflow file for this run

name: Ruff
on:
push:
paths:
- '**/*.py' # Watch for changes in any Python files
- 'pyproject.yml' # Watch for changes in the pyproject.yml file
- 'workflows/ruff.yml'
workflow_dispatch:
#concurrency:
# group: ci-${{github.workflow}}-${{ github.ref }}
# cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['py39']
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
# Ruff does not need a specific python version installed
- name: Install dependencies
run: |
python -m pip install -U ruff
- name: Lint with Ruff
run: |
ruff check --target-version ${{ matrix.python-version }} --output-format=github
- name: Check format with Ruff
run: |
ruff format --check