Skip to content
This repository has been archived by the owner on Mar 30, 2023. It is now read-only.

Commit

Permalink
fix mispellings
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathieu Dupuy authored and JulienPalard committed Apr 26, 2022
1 parent dc9f814 commit c826541
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ powrap
:target: https://pypi.python.org/pypi/powrap

Script to fix indentation of given ``.po`` files. If ``--modified`` is
given, it will only fix modified files according to git (usefull if
your ``.po`` files are versionned).
given, it will only fix modified files according to git (useful if
your ``.po`` files are versioned).

if ``--quiet`` is given, the progress bar will not be shown

Expand Down
4 changes: 2 additions & 2 deletions powrap/powrap.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Fix style of uncommited po files, or all if --all is given."""
"""Fix style of uncommitted po files, or all if --all is given."""

import argparse
import sys
Expand Down Expand Up @@ -133,7 +133,7 @@ def path(path_str):
parser.add_argument(
"--no-wrap",
action="store_true",
help="see `man msgcat`, usefull to sed right after.",
help="see `man msgcat`, useful to sed right after.",
)
parser.add_argument("po_files", nargs="*", help="po files.", type=path)
args = parser.parse_args()
Expand Down
2 changes: 1 addition & 1 deletion tests/test_powrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def test_fail_on_bad_wrapping(po_file, capsys):


@pytest.mark.parametrize("po_file", (FIXTURE_DIR / "good").glob("*.po"))
def test_succees_on_good_wrapping(po_file, capsys):
def test_success_on_good_wrapping(po_file, capsys):
assert powrap.check_style([po_file]) == 0
assert str(po_file) not in capsys.readouterr().err

Expand Down

0 comments on commit c826541

Please sign in to comment.