Skip to content

Commit

Permalink
also ignore jupyter in format
Browse files Browse the repository at this point in the history
  • Loading branch information
bbaranow committed Nov 3, 2024
1 parent 5d0f61a commit 07d971a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-lmnb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/*
Expand All @@ -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
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ruff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ jobs:
- uses: astral-sh/ruff-action@v1
with:
args: 'format --check'
src: './src'
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 07d971a

Please sign in to comment.