From bcd374f91ee43733e768ca8fa6c3ca58e55d2e04 Mon Sep 17 00:00:00 2001 From: Rotzbua Date: Tue, 15 Oct 2024 14:21:45 +0200 Subject: [PATCH] fix: typo --- docs/major_releases/introducing_isort_5.md | 2 +- tests/unit/test_regressions.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/major_releases/introducing_isort_5.md b/docs/major_releases/introducing_isort_5.md index 577d147d0..f3d7ea20e 100644 --- a/docs/major_releases/introducing_isort_5.md +++ b/docs/major_releases/introducing_isort_5.md @@ -105,7 +105,7 @@ import c import d ``` -isort 5 adds support for [Action Comments](https://pycqa.github.io/isort/docs/configuration/action_comments.html) which provide a quick and convient way to control the flow of parsing within single source files. +isort 5 adds support for [Action Comments](https://pycqa.github.io/isort/docs/configuration/action_comments.html) which provide a quick and convenient way to control the flow of parsing within single source files. # First class Python API diff --git a/tests/unit/test_regressions.py b/tests/unit/test_regressions.py index 69008b2df..eb652e4ee 100644 --- a/tests/unit/test_regressions.py +++ b/tests/unit/test_regressions.py @@ -230,7 +230,7 @@ def test_trailing_comma_doesnt_introduce_broken_code_with_comment_and_wrap_issue def test_ensure_sre_parse_is_identified_as_stdlib_issue_1304(): - """Ensure sre_parse is idenified as STDLIB. + """Ensure sre_parse is identified as STDLIB. See: https://github.com/pycqa/isort/issues/1304. """ assert ( @@ -353,7 +353,7 @@ def test_isort_shouldnt_add_extra_new_line_when_fass_and_n_issue_1315(): def test_isort_doesnt_rewrite_import_with_dot_to_from_import_issue_1280(): """Test to ensure isort doesn't rewrite imports in the from of import y.x into from y import x. - This is because they are not technically fully equivalent to eachother and can introduce broken + This is because they are not technically fully equivalent to each other and can introduce broken behaviour. See: https://github.com/pycqa/isort/issues/1280 """ @@ -624,7 +624,7 @@ def test_reverse_relative_combined_with_force_sort_within_sections_issue_1395(): def test_isort_should_be_able_to_add_independent_of_doc_string_placement_issue_1420(): - """isort should be able to know when an import requested to be added is sucesfully added, + """isort should be able to know when an import requested to be added is successfully added, independent of where the top doc string is located. See: https://github.com/PyCQA/isort/issues/1420 """