From a883871fd23aaca48e3057a443b1cd2812d3b1b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Luis=20Cano=20Rodr=C3=ADguez?= Date: Fri, 28 Jul 2023 09:44:37 +0200 Subject: [PATCH] Adapt link to moving file in docs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Juan Luis Cano Rodríguez --- docs/source/conf.py | 2 ++ docs/source/development/linting.md | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 5accc21725..5ecb100aca 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -226,6 +226,8 @@ "https://opensource.org/license/apache2-0-php/", "https://docs.github.com/en/rest/overview/other-authentication-methods#via-username-and-password", "https://docs.snowflake.com/en/developer-guide/snowpark/reference/python/api/snowflake.snowpark.DataFrameWriter.saveAsTable.html" + # temporarily, until the file actually exists in `main` + "https://github.com/kedro-org/kedro/blob/main/kedro/templates/project/%7B%7B%20cookiecutter.repo_name%20%7D%7D/.flake8", ] # retry before render a link broken (fix for "too many requests") diff --git a/docs/source/development/linting.md b/docs/source/development/linting.md index ca53d7f49d..a8bdbc0c44 100644 --- a/docs/source/development/linting.md +++ b/docs/source/development/linting.md @@ -60,7 +60,7 @@ It is a good practice to [split your line when it is too long](https://beta.ruff #### Configure `flake8` -Store your `flake8` configuration in a file named `.flake8` within your project root. The Kedro starters use the [following configuration](https://github.com/kedro-org/kedro-starters/blob/main/pandas-iris/%7B%7B%20cookiecutter.repo_name%20%7D%7D/.flake8): +Store your `flake8` configuration in a file named `.flake8` within your project root. The Kedro default project template use the [following configuration](https://github.com/kedro-org/kedro/blob/main/kedro/templates/project/%7B%7B%20cookiecutter.repo_name%20%7D%7D/.flake8): ```text [flake8]