Skip to content

Commit

Permalink
Fix English spelling and grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
akaihola committed Mar 14, 2022
1 parent 61dc849 commit 7504757
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/darker/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def _isort_and_blacken_single_file( # pylint: disable=too-many-arguments
"""
# With VSCode, `relative_path_in_rev2` may be a `.py.<HASH>.tmp` file in the
# working tree insted of a `.py` file.
# working tree instead of a `.py` file.
absolute_path_in_rev2 = root / relative_path_in_rev2
rev2_content = git_get_content_at_revision(
relative_path_in_rev2, revrange.rev2, root
Expand Down
2 changes: 1 addition & 1 deletion src/darker/tests/test_import_sorting.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def test_isort_file_skip_comment():
),
)
def test_diff_overlaps_with_edits(edited_linenums, isort_chunks, expect):
"""Overlapping edits and import sortings are detected correctly"""
"""Overlapping edits and sorting of imports are detected correctly"""
result = darker.import_sorting._diff_overlaps_with_edits(
edited_linenums, isort_chunks
)
Expand Down

0 comments on commit 7504757

Please sign in to comment.