diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 009e3f7d..9d95bcf7 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -45,15 +45,14 @@ jobs: run: | uv venv .venv - - name: Install dependencies + - name: Install ruff run: | . .venv/bin/activate - if [ -f pip/cpu_requirements.txt ]; then pip install -r pip/cpu_requirements.txt; fi uv pip install ruff - name: Lint with ruff run: | # Check all lint rules . .venv/bin/activate - uv run ruff check atomsci/ + ruff check atomsci/ diff --git a/pip/cpu_requirements.txt b/pip/cpu_requirements.txt index 4e0db5f5..4e7940e3 100644 --- a/pip/cpu_requirements.txt +++ b/pip/cpu_requirements.txt @@ -24,7 +24,7 @@ torch==2.1.2+cpu torchdata==0.7.1 # Lightning; pin to a recent stable series to avoid breaking changes -lightning==2.2.5 +lightning>=2.2,<2.7 # TensorFlow CPU; compatible with DeepChem 2.8 tensorflow-cpu~=2.14.0 @@ -100,4 +100,4 @@ mordred # ========================== pytest -ipykernel \ No newline at end of file +ipykernel