Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

Commit

Permalink
chore: Review and apply pre-commit hooks manually (#180)
Browse files Browse the repository at this point in the history
* chore: Fix rev for nbstripout hook

* chore: Apply license header

* chore: Apply ruff hook

* chore: Apply nbstripout hook

* fix: Comment unrecognized args
  • Loading branch information
frascuchon authored May 14, 2024
1 parent 7b99219 commit a71cd79
Show file tree
Hide file tree
Showing 76 changed files with 1,585 additions and 1,001 deletions.
16 changes: 8 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,17 @@ repos:
- id: ruff-format

- repo: https:/kynan/nbstripout
rev: v0.7.1
rev: 0.7.1
hooks:
- id: nbstripout
files: \.ipynb$
args:
- --keep-count
- --keep-output
- --keep-prompt-number
- --keep-cell-ids
- --keep-markdown
- --keep-output-timestamp
- --keep-execution-count
- --keep-metadata
- --keep-version
# - --keep-prompt-number
# - --keep-cell-ids
# - --keep-markdown
# - --keep-output-timestamp
# - --keep-execution-count
# - --keep-metadata
# - --keep-version
34 changes: 17 additions & 17 deletions docs/_source/tutorials/configure-users-and-workspaces-000.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "fc0c600b",
"id": "0",
"metadata": {
"editable": true,
"papermill": {
Expand All @@ -27,7 +27,7 @@
},
{
"cell_type": "markdown",
"id": "e557a44e-26fb-4b52-91ec-2b49d550a5cd",
"id": "1",
"metadata": {
"papermill": {
"duration": 0.011949,
Expand All @@ -50,7 +50,7 @@
},
{
"cell_type": "markdown",
"id": "566b7b82",
"id": "2",
"metadata": {
"papermill": {
"duration": 0.007744,
Expand Down Expand Up @@ -89,7 +89,7 @@
},
{
"cell_type": "markdown",
"id": "2ec89efe-11a2-46ac-a9af-467d2628f7fd",
"id": "3",
"metadata": {
"papermill": {
"duration": 0.004557,
Expand All @@ -107,7 +107,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "bbbd3c38-1e3c-4d7f-97e6-22dd3b668fc8",
"id": "4",
"metadata": {
"editable": true,
"papermill": {
Expand All @@ -130,7 +130,7 @@
{
"cell_type": "code",
"execution_count": 1,
"id": "51b3b93c",
"id": "5",
"metadata": {
"papermill": {
"duration": null,
Expand All @@ -148,7 +148,7 @@
},
{
"cell_type": "markdown",
"id": "3464037d-e21e-4db4-bfb4-e300fe4c9e53",
"id": "6",
"metadata": {},
"source": [
"Log to argilla:"
Expand All @@ -157,7 +157,7 @@
{
"cell_type": "code",
"execution_count": 6,
"id": "728e6af7",
"id": "7",
"metadata": {
"papermill": {
"duration": null,
Expand All @@ -178,7 +178,7 @@
},
{
"cell_type": "markdown",
"id": "f50177aa-4c94-4b8f-8293-a3710e3cb0ca",
"id": "8",
"metadata": {
"papermill": {
"duration": null,
Expand All @@ -195,7 +195,7 @@
},
{
"cell_type": "markdown",
"id": "529f4e77-6c05-4d59-b153-170acee36b97",
"id": "9",
"metadata": {
"papermill": {
"duration": null,
Expand All @@ -215,7 +215,7 @@
{
"cell_type": "code",
"execution_count": 7,
"id": "fa3ffa5f",
"id": "10",
"metadata": {
"editable": true,
"slideshow": {
Expand All @@ -242,7 +242,7 @@
},
{
"cell_type": "markdown",
"id": "5b4eb4ff-9530-4542-9975-25d0f4f725c1",
"id": "11",
"metadata": {
"papermill": {
"duration": null,
Expand All @@ -265,7 +265,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "26199501",
"id": "12",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -279,7 +279,7 @@
},
{
"cell_type": "markdown",
"id": "46e05aa8",
"id": "13",
"metadata": {},
"source": [
"### Update `User`\n",
Expand All @@ -290,7 +290,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "7c974d40",
"id": "14",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -302,7 +302,7 @@
},
{
"cell_type": "markdown",
"id": "408cb3c9-c784-45c8-b206-058a23b801d8",
"id": "15",
"metadata": {
"papermill": {
"duration": null,
Expand All @@ -319,7 +319,7 @@
},
{
"cell_type": "markdown",
"id": "6cdb1244-1589-4e85-be36-e0c959817c6d",
"id": "16",
"metadata": {
"papermill": {
"duration": null,
Expand Down
Loading

0 comments on commit a71cd79

Please sign in to comment.