Skip to content

Commit

Permalink
docs: Fix a few typos (#424)
Browse files Browse the repository at this point in the history
There are small typos in:
- src/pathpicker/line_format.py
- src/pathpicker/parse.py

Fixes:
- Should read `contiguous` rather than `continguous`.
- Should read `abbreviated` rather than `abbrievated`.
  • Loading branch information
timgates42 authored Jul 3, 2022
1 parent 6ca5fac commit cc032b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/pathpicker/line_format.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def is_resolvable(self) -> bool:

def is_git_abbreviated_path(self) -> bool:
# this method mainly serves as a warning for when we get
# git-abbrievated paths like ".../" that confuse users.
# git-abbreviated paths like ".../" that confuse users.
parts = self.path.split(os.path.sep)
return len(parts) > 0 and parts[0] == "..."

Expand Down
4 changes: 2 additions & 2 deletions src/pathpicker/parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
# now we look at directories. The 'character class ' allowed before the '/'
# is either a real character or a character and a space. This allows
# multiple spaces in a directory as long as each space is followed by
# a normal character, but it does not allow multiple continguous spaces
# a normal character, but it does not allow multiple contiguous spaces
# which would otherwise gobble up too much whitespace.
#
# Thus, these directories will match:
Expand Down Expand Up @@ -106,7 +106,7 @@
# now we look at directories. The 'character class ' allowed before the '/'
# is either a real character or a character and a space. This allows
# multiple spaces in a directory as long as each space is followed by
# a normal character, but it does not allow multiple continguous spaces
# a normal character, but it does not allow multiple contiguous spaces
# which would otherwise gobble up too much whitespace.
#
# Thus, these directories will match:
Expand Down

0 comments on commit cc032b2

Please sign in to comment.