Skip to content

Commit

Permalink
Restore linting and type checking
Browse files Browse the repository at this point in the history
  • Loading branch information
cpaniaguam committed Dec 17, 2024
1 parent ae28863 commit 0119314
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions .github/workflows/linting_and_type_checking.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,28 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup environment
uses: ./.github/setup-env
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Install uv
uses: astral-sh/setup-uv@v4
with:
# Install a specific version of uv.
version: "0.5.9"

- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}

- name: Install dev dependencies
run: uv pip install --system -e ".[dev]"

- name: Run mypy
run: mypy src/hssm

- name: Check formatting
run: ruff format --check .

- name: Linting
run: ruff check src/hssm

run: ruff check src/hssm

0 comments on commit 0119314

Please sign in to comment.