Skip to content

Fix bugs and Compatible with Python 3.13 syntax #13

Fix bugs and Compatible with Python 3.13 syntax

Fix bugs and Compatible with Python 3.13 syntax #13

Workflow file for this run

name: Python CI
on: [pull_request, push]
jobs:
CI Check:

Check failure on line 4 in .github/workflows/Python CI.yml

View workflow run for this annotation

GitHub Actions / Python CI

Invalid workflow file

The workflow is not valid. .github/workflows/Python CI.yml (Line: 4, Col: 3): The identifier 'CI Check' is invalid. IDs may only contain alphanumeric characters, '_', and '-'. IDs must start with a letter or '_' and and must be less than 100 characters.
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.13"
cache: "pip"
cache-dependency-path: "pyproject.toml"
- name: Install check dependencies
run: |
python -m pip install --upgrade pip wheel
pip install bandit ruff mypy safety codespell
- name: Run Codespell
run: codespell --config pyproject.toml || true
- name: Run Bandit
run: bandit --recursive --skip B101 . || true
- name: Run Ruff (linting)
run: ruff check . --config pyproject.toml
- name: Run Ruff (formatting check)
run: ruff format --check . --config pyproject.toml
- name: Setup Mypy cache
run: mkdir -p .mypy_cache
- name: Install type stubs
run: mypy --config-file pyproject.toml --install-types --non-interactive
- name: Run Mypy
run: mypy --config-file pyproject.toml