Skip to content

Allow config_file to be a path-like object #94

Allow config_file to be a path-like object

Allow config_file to be a path-like object #94

Workflow file for this run

name: CI
on:
push:
branches:
- develop
- master
pull_request:
branches:
- develop
- master
jobs:
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ruff
- name: Run Ruff
run: ruff check .
- name: Run Ruff format
run: ruff format --check .
mypy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install mypy
- name: Run mypy
run: mypy --install-types --non-interactive --ignore-missing-imports .
typos:
name: Spell Check with Typos
runs-on: ubuntu-latest
steps:
- name: Checkout Actions Repository
uses: actions/checkout@v4
- name: Check spelling
uses: crate-ci/typos@master
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install lint dependencies
run: |
pip install -e ".[lint]"
- name: Build and check packages
run: |
pip install --upgrade build twine
python -m build
twine check --strict dist/*