diff --git a/.github/workflows/build-lmnb.yml b/.github/workflows/build-lmnb.yml index ff4a433..909e9d7 100644 --- a/.github/workflows/build-lmnb.yml +++ b/.github/workflows/build-lmnb.yml @@ -14,15 +14,15 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install build dependencies - run: python -m pip install --upgrade build + run: python -m pip install --upgrade pdm - name: Build source distribution - run: python -m build + run: pdm - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: artifacts path: dist/* @@ -35,7 +35,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: artifacts path: dist diff --git a/.github/workflows/ruff.yml b/.github/workflows/ruff.yml index 5f8c82d..cf7600a 100644 --- a/.github/workflows/ruff.yml +++ b/.github/workflows/ruff.yml @@ -8,3 +8,4 @@ jobs: - uses: astral-sh/ruff-action@v1 with: args: 'format --check' + src: './src' diff --git a/pyproject.toml b/pyproject.toml index cbd280b..7212483 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,6 +37,7 @@ lines-after-imports = 2 [tool.ruff.format] # Like Black, use double quotes for strings. quote-style = "double" +exclude = ["*.ipynb"] # Like Black, indent with spaces, rather than tabs. indent-style = "space"