From 189ab927f0bda2e54bcc2dd3f6255f6513aab657 Mon Sep 17 00:00:00 2001 From: Ayaz Salikhov Date: Fri, 18 Mar 2022 15:37:51 +0200 Subject: [PATCH] Move python back --- .pre-commit-config.yaml | 2 +- docs/using/specifics.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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"