Skip to content

Commit d5a5c7d

Browse files
chore: update linting configuration to exclude Jupyter notebooks
Co-authored-by: Genie <[email protected]>
1 parent 0d715bd commit d5a5c7d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/python-app.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ jobs:
3535
pip install pytest
3636
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
3737
- uses: chartboost/ruff-action@v1
38-
with:
39-
args: --extend-exclude '\.ipynb$'
4038
- name: Test with pytest
4139
run: |
4240
pytest

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ unfixable = []
1010
# restrict Line length to 99
1111
line-length = 88
1212

13+
# Exclude Jupyter notebooks from linting
14+
extend-exclude = ["\\.ipynb$"]
15+
1316
[build-system]
1417
requires = ["setuptools >= 61"]
1518
build-backend = "setuptools.build_meta"

0 commit comments

Comments
 (0)