Skip to content

[MNT] moving linting to ruff, adding editorconfig #22

[MNT] moving linting to ruff, adding editorconfig

[MNT] moving linting to ruff, adding editorconfig #22

Workflow file for this run

# This file is part of the tschm/.config-templates repository
# (https://github.com/tschm/.config-templates).
#
# Workflow: Pre-commit
#
# Purpose: This workflow runs pre-commit checks to ensure code quality
# and consistency across the codebase. It helps catch issues
# like formatting errors, linting issues, and other code quality
# problems before they are merged.
#
# Trigger: This workflow runs on every push and on pull requests to main/master
# branches (including from forks)
#
# Components:
# - 🔍 Run pre-commit checks using reusable action
name: "PRE-COMMIT"
permissions:
contents: read
on:
push:
pull_request:
branches: [ main, master ]
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/setup-python@v6
with:
python-version: '3.14'
- uses: pre-commit/[email protected]