Skip to content

Commit

Permalink
chore(pre-commit): Ensure the notebooks are cleaned
Browse files Browse the repository at this point in the history
  • Loading branch information
thomass-dev committed Oct 10, 2024
1 parent 1715bd3 commit 97eaa40
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 22 deletions.
1 change: 1 addition & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ jobs:
pre-commit run --all-files end-of-file-fixer
pre-commit run --all-files trailing-whitespace
pre-commit run --all-files typos
pre-commit run --all-files nbstripout
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ repos:
hooks:
- id: typos

- repo: https://github.com/kynan/nbstripout
rev: 0.7.1
hooks:
- id: nbstripout

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.9
hooks:
Expand Down
44 changes: 22 additions & 22 deletions examples/skrub_demo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "2f0b0800",
"id": "0",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -16,7 +16,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "cc37e639",
"id": "1",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -39,7 +39,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "406992da",
"id": "2",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -50,7 +50,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "9084704d",
"id": "3",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -62,7 +62,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "a9290081",
"id": "4",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -72,7 +72,7 @@
},
{
"cell_type": "markdown",
"id": "6c574556",
"id": "5",
"metadata": {
"lines_to_next_cell": 2
},
Expand All @@ -83,7 +83,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "305bd7cf",
"id": "6",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -94,7 +94,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "335f1a0e",
"id": "7",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -105,7 +105,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "086c6ebd",
"id": "8",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -116,7 +116,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "7a548401",
"id": "9",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -130,7 +130,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "9803f8c2",
"id": "10",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -154,7 +154,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "34c4c685",
"id": "11",
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -201,7 +201,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "091fceee",
"id": "12",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -226,7 +226,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "376fe6df",
"id": "13",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -249,7 +249,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "37ae1640",
"id": "14",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -273,7 +273,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "737d4087",
"id": "15",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -299,7 +299,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "43b46d58",
"id": "16",
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -356,7 +356,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "49227a48",
"id": "17",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -369,7 +369,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "f7d07611",
"id": "18",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -393,7 +393,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "df31f379",
"id": "19",
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -421,7 +421,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "f22c67e2",
"id": "20",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -432,7 +432,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "e0b1b4e8",
"id": "21",
"metadata": {},
"outputs": [],
"source": [
Expand Down

0 comments on commit 97eaa40

Please sign in to comment.