Skip to content

fix: regex escape the search string #8

fix: regex escape the search string

fix: regex escape the search string #8

Workflow file for this run

name: Python
on:
push:
branches: ["master", "ci-test"]
paths: ["**/*.py", "pyproject.toml"]
pull_request:
branches: ["master", "ci-test"]
paths: ["**/*.py", "pyproject.toml"]
jobs:
pyright:
name: Pyright
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.8"
- uses: jakebailey/pyright-action@v2
ruff:
name: Ruff
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run Ruff
run: pipx run ruff check --output-format github
black:
name: Black
needs: ["pyright", "ruff"]
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Install Ruff
run: pipx install ruff
- name: Run isort
run: ruff check --select I --fix
- name: Run Black
run: ruff format
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "style: black + isort"