Skip to content

implement ruff lint suggestions #6

implement ruff lint suggestions

implement ruff lint suggestions #6

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main, next ]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install Tools
run: |
pip install hatch
- name: Run Linter
run: |
hatch run dev:lint
unit-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install Tools
run: |
pip install hatch
- name: Run Tests
run: |
hatch run dev:unit-test