Skip to content

Commit

Permalink
Run --fix
Browse files Browse the repository at this point in the history
  • Loading branch information
manzt committed Oct 17, 2024
1 parent 57ad365 commit 5898963
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 17 deletions.
17 changes: 4 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Release
name: CI

on:
push:
Expand All @@ -14,13 +14,10 @@ jobs:
Lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- uses: actions/checkout@v3
- uses: astral-sh/setup-uv@v3
with:
version: "0.4.x"

- run:
uv run ruff check
uv run ruff format
Expand All @@ -35,21 +32,15 @@ jobs:
- "3.10"
- "3.11"
- "3.12"

steps:
- name: Checkout
uses: actions/checkout@v3

- uses: actions/checkout@v3
- uses: actions/setup-python@v5
with:
python-version-file: ".python-version"

- uses: astral-sh/setup-uv@v3
with:
version: "0.4.x"

- name: Run tests
run: uv run pytest --color=yes
- run: uv run pytest --color=yes

Release:
if: startsWith(github.ref, 'refs/tags/')
Expand Down
5 changes: 3 additions & 2 deletions notebooks/abundance-analysis.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@
"outputs": [],
"source": [
"import pathlib\n",
"import sys\n",
"\n",
"import pandas as pd\n",
"from cev.widgets import Embedding, EmbeddingComparisonWidget, compare\n",
"\n",
"from cev.widgets import Embedding, EmbeddingComparisonWidget\n",
"\n",
"\n",
"def get_embedding(folder: str, sample: str):\n",
Expand Down
1 change: 1 addition & 0 deletions notebooks/getting-started.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"outputs": [],
"source": [
"import pandas as pd\n",
"\n",
"from cev.widgets import Embedding, EmbeddingComparisonWidget"
]
},
Expand Down
5 changes: 3 additions & 2 deletions notebooks/lui-2021.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,10 @@
"outputs": [],
"source": [
"import pathlib\n",
"import sys\n",
"\n",
"import pandas as pd\n",
"from cev.widgets import Embedding, EmbeddingComparisonWidget, compare"
"\n",
"from cev.widgets import Embedding, EmbeddingComparisonWidget"
]
},
{
Expand Down
1 change: 1 addition & 0 deletions tests/test_widget_utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import pandas as pd

from cev._widget_utils import trim_label_series


Expand Down

0 comments on commit 5898963

Please sign in to comment.