Skip to content

Modernize project for compatibility with uv #120

Modernize project for compatibility with uv

Modernize project for compatibility with uv #120

Workflow file for this run

---
name: Lintcheck Python
on:
push:
branches: [main]
paths: ['**.py']
pull_request:
paths: ['**.py']
jobs:
check_python:
name: Check Python linting
runs-on: ubuntu-latest
steps:
- name: Install the latest version of uv.
uses: astral-sh/setup-uv@v5
with:
python-version: "3.13"
- uses: actions/checkout@v4
with:
submodules: true
- run: uv sync
- run: uv run ruff format --check --diff .
- run: uv run ruff check
- run: uv run isort -c --diff nle/