From 0ccefec5a394a77a8a03e6c2f517b484765abcda Mon Sep 17 00:00:00 2001 From: Timothy Crosley Date: Mon, 21 Jun 2021 01:53:35 -0700 Subject: [PATCH] Fix remaining broken links --- docs/quick_start/0.-try.md | 4 ++-- docs/quick_start/2.-cli.md | 2 +- docs/quick_start/3.-api.md | 2 +- docs/upgrade_guides/5.0.0.md | 2 +- isort/exceptions.py | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/quick_start/0.-try.md b/docs/quick_start/0.-try.md index 61fae1535..b0e160c3a 100644 --- a/docs/quick_start/0.-try.md +++ b/docs/quick_start/0.-try.md @@ -32,7 +32,7 @@ import b, a
Loading...
- Configuration (Note: the below must follow JSON format). Full configuration guide is here: + Configuration (Note: the below must follow JSON format). Full configuration guide is here:
{"line_length": 80, "profile": "black", @@ -47,4 +47,4 @@ import b, a
Like what you saw? Installing isort to use locally is as simple as `pip3 install isort`. -[Click here for full installation instructions.](https://pycqa.github.io/isort/docs/quick_start/1.-install/) +[Click here for full installation instructions.](https://pycqa.github.io/isort/docs/quick_start/1.-install) diff --git a/docs/quick_start/2.-cli.md b/docs/quick_start/2.-cli.md index f7b313464..5e3e45b6e 100644 --- a/docs/quick_start/2.-cli.md +++ b/docs/quick_start/2.-cli.md @@ -3,7 +3,7 @@ Once installed, `isort` exposes a command line utility for sorting, organizing, and formatting imports within Python and Cython source files. To verify the tool is installed correctly, run `isort` from the command line and you should be given the available commands and the version of isort installed. -For a list of all CLI options type `isort --help` or view [the online configuration reference](https://pycqa.github.io/isort/docs/configuration/options/): +For a list of all CLI options type `isort --help` or view [the online configuration reference](https://pycqa.github.io/isort/docs/configuration/options): diff --git a/docs/quick_start/3.-api.md b/docs/quick_start/3.-api.md index a327fc73a..da197719d 100644 --- a/docs/quick_start/3.-api.md +++ b/docs/quick_start/3.-api.md @@ -19,4 +19,4 @@ Highlights include: - `isort.place_module` - Takes the name of a module as a string and returns the categorization determined for it. - `isort.place_module_with_reason` - Takes the name of a module as a string and returns the categorization determined for it and why that categorization was given. -For a full definition of the API see the [API reference documentation](https://pycqa.github.io/isort/reference/isort/api/) or try `help(isort)` from an interactive interpreter. +For a full definition of the API see the [API reference documentation](https://pycqa.github.io/isort/reference/isort/api) or try `help(isort)` from an interactive interpreter. diff --git a/docs/upgrade_guides/5.0.0.md b/docs/upgrade_guides/5.0.0.md index 743df0297..057ae7be6 100644 --- a/docs/upgrade_guides/5.0.0.md +++ b/docs/upgrade_guides/5.0.0.md @@ -5,7 +5,7 @@ This guide is meant to help migrate projects from using isort 4.x.x unto the 5.0 Related documentation: -* [isort 5.0.0 changelog](https://pycqa.github.io/isort/CHANGELOG/#500-penny-july-4-2020) +* [isort 5.0.0 changelog](https://pycqa.github.io/isort/CHANGELOG#500-penny-july-4-2020) * [isort 5 release document](https://pycqa.github.io/isort/docs/major_releases/introducing_isort_5.html) !!! important - "If you use pre-commit remove seed-isort-config." diff --git a/isort/exceptions.py b/isort/exceptions.py index e5eeceaa8..1cd9251d2 100644 --- a/isort/exceptions.py +++ b/isort/exceptions.py @@ -167,7 +167,7 @@ def __init__(self, unsupported_settings: Dict[str, Dict[str, str]]): "isort was provided settings that it doesn't support:\n\n" f"{errors}\n\n" "For a complete and up-to-date listing of supported settings see: " - "https://pycqa.github.io/isort/docs/configuration/options/.\n" + "https://pycqa.github.io/isort/docs/configuration/options.\n" ) self.unsupported_settings = unsupported_settings