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 13, 2022
1 parent e8cc24d commit f43bed5
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 @@ -73,7 +73,7 @@ def format_edited_parts(
edited_linenums_differ = EditedLinenumsDiffer(root, revrange)
for relative_path_in_rev2 in sorted(changed_files):
# 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 f43bed5

Please sign in to comment.