Skip to content

Commit 47b8f6f

Browse files
committed
Formated and linted ed content
1 parent c2dc9bb commit 47b8f6f

21 files changed

+20762
-20307
lines changed

.github/workflows/test_docs_snippets.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,4 +87,5 @@ jobs:
8787
- name: Test notebooks
8888
run: cd docs/notebooks && make test
8989

90-
90+
- name: Lint education notebooks
91+
run: make lint-notebooks

Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ lint:
6464

6565
format:
6666
uv run black dlt docs tests --extend-exclude='.*syntax_error.py|_storage/.*'
67+
uv run black docs/education --ipynb --extend-exclude='.*syntax_error.py|_storage/.*'
6768

6869
lint-snippets:
6970
cd docs/tools && uv run python check_embedded_snippets.py full
@@ -89,6 +90,13 @@ lint-security:
8990
# go for ll by cleaning up eval and SQL warnings.
9091
uv run bandit -r dlt/ -n 3 -lll
9192

93+
lint-notebooks:
94+
uv run nbqa flake8 docs/education --extend-ignore=D,F704 --max-line-length=200
95+
uv run nbqa mypy docs/education \
96+
--ignore-missing-imports \
97+
--disable-error-code=no-redef \
98+
--disable-error-code=top-level-await
99+
92100
# check docstrings for all important public classes and functions
93101
lint-docstrings:
94102
uv run flake8 --count \

0 commit comments

Comments
 (0)