diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 062eca13..f0a68c91 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -130,7 +130,7 @@ repos: rev: v1.12.1 hooks: - id: blacken-docs - args: [--target-version=py39] + args: [--target-version=py39, --skip-errors] # Docker hooks do not work in pre-commit.ci # See: diff --git a/docs/using/specifics.md b/docs/using/specifics.md index c0269238..d25bcb94 100644 --- a/docs/using/specifics.md +++ b/docs/using/specifics.md @@ -143,7 +143,7 @@ sdf_len(sc, 100, repartition = 1) %>% Spylon kernel instantiates a `SparkContext` for you in variable `sc` after you configure Spark options in a `%%init_spark` magic cell. -```text +```python %%init_spark # Configure Spark to use a local master launcher.master = "local" @@ -234,7 +234,7 @@ sdf_len(sc, 100, repartition = 1) %>% Spylon kernel instantiates a `SparkContext` for you in variable `sc` after you configure Spark options in a `%%init_spark` magic cell. -```text +```python %%init_spark # Configure Spark to use a local master launcher.master = "spark://master:7077"