diff options
| author | Guillaume Lostis <g.lostis@kayrros.com> | 2020-08-28 18:43:17 +0200 |
|---|---|---|
| committer | Guillaume Lostis <g.lostis@kayrros.com> | 2020-08-28 18:46:56 +0200 |
| commit | 9baef903c5290caf19b0123d15bee92fd9b724f8 (patch) | |
| tree | 394edf92e02c28880f2b2ba2d70b332a8a444bb3 | |
| parent | e836a59bc7de78d46890532a928d006eca72aa04 (diff) | |
| download | isort-9baef903c5290caf19b0123d15bee92fd9b724f8.tar.gz | |
Typo fixes
| -rw-r--r-- | docs/configuration/options.md | 6 | ||||
| -rw-r--r-- | docs/upgrade_guides/5.0.0.md | 2 | ||||
| -rw-r--r-- | isort/main.py | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/docs/configuration/options.md b/docs/configuration/options.md index 712b14ae..10c1cfb8 100644 --- a/docs/configuration/options.md +++ b/docs/configuration/options.md @@ -8,7 +8,7 @@ Too busy to build your perfect isort configuration? For curated common configura ## Python Version -Tells isort to set the known standard library based on the the specified Python version. Default is to assume any Python 3 version could be the target, and use a union off all stdlib modules across versions. If auto is specified, the version of the interpreter used to run isort (currently: 38) will be used. +Tells isort to set the known standard library based on the specified Python version. Default is to assume any Python 3 version could be the target, and use a union of all stdlib modules across versions. If auto is specified, the version of the interpreter used to run isort (currently: 38) will be used. **Type:** String **Default:** `py3` @@ -765,7 +765,7 @@ Tells isort to honor noqa comments to enforce skipping those comments. ## Src Paths -Add an explicitly defined source path (modules within src paths have their imports automatically catorgorized as first_party). +Add an explicitly defined source path (modules within src paths have their imports automatically categorized as first_party). **Type:** Frozenset **Default:** `frozenset()` @@ -948,7 +948,7 @@ Number of files to process in parallel. - -j - --jobs -## Dont Order By Type +## Don't Order By Type Don't order imports by type, which is determined by case, in addition to alphabetically. diff --git a/docs/upgrade_guides/5.0.0.md b/docs/upgrade_guides/5.0.0.md index 6a68acec..d31fb9dc 100644 --- a/docs/upgrade_guides/5.0.0.md +++ b/docs/upgrade_guides/5.0.0.md @@ -45,7 +45,7 @@ The `-v` (previously for version now for verbose) and `-V` (previously for verbo ## Migrating Config options The first thing to keep in mind is how isort loads config options has changed in isort 5. It will no longer merge multiple config files, instead you must have 1 isort config per a project. -If you have multiple configs, they will need to be merged into 1 single one. You can see the priority order of configuration files and the manor in which they are loaded on the +If you have multiple configs, they will need to be merged into 1 single one. You can see the priority order of configuration files and the manner in which they are loaded on the [config files documentation page](https://pycqa.github.io/isort/docs/configuration/config_files/). ### `not_skip` diff --git a/isort/main.py b/isort/main.py index ed9517a6..34efd089 100644 --- a/isort/main.py +++ b/isort/main.py @@ -144,7 +144,7 @@ def _build_arg_parser() -> argparse.ArgumentParser: "start guide, otherwise, one or more files/directories/stdin must be provided. " "Use `-` as the first argument to represent stdin. Use --interactive to use the pre 5.0.0 " "interactive behavior." - "" + " " "If you've used isort 4 but are new to isort 5, see the upgrading guide:" "https://pycqa.github.io/isort/docs/upgrade_guides/5.0.0/." ) @@ -155,7 +155,7 @@ def _build_arg_parser() -> argparse.ArgumentParser: dest="src_paths", action="append", help="Add an explicitly defined source path " - "(modules within src paths have their imports automatically catorgorized as first_party).", + "(modules within src paths have their imports automatically categorized as first_party).", ) parser.add_argument( "-a", |
