Skip to content

Ruff formatting

Ruff formatting #132

Workflow file for this run

name: Test PyPI Publishing
on:
push:
jobs:
test-deploy:
name: Test PyPI Publishing Process
runs-on: ubuntu-latest
steps:
-
name: Checkout repo
uses: actions/checkout@v4
-
name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
-
name: Install dependencies
run: |
python -m pip install --upgrade pip build
pip install -e .[dev]
-
name: Run tests
run: pytest -s -v tests
-
name: Run linting
run: |
pip install ruff
ruff check src/ tests/
-
name: Build package
run: python -m build
-
name: Check built package
run: |
pip install twine
twine check dist/*