Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
bulricht authored May 24, 2024
1 parent 92330d5 commit ff41b59
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pysubyt/sinks.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
def assert_writable(file_path: str, force_output: bool = False):
if not force_output:
assert not os.path.isfile(file_path), (
"File to write '%s' alread exists" % file_path
"File to write '%s' already exists" % file_path
)
parent_path = os.path.dirname(os.path.abspath(file_path))
if not os.path.exists(parent_path):
Expand Down
2 changes: 1 addition & 1 deletion pysubyt/sources.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

def assert_readable(file_path):
assert os.path.isfile(file_path), (
"File to read '%s' does not exists" % file_path
"File to read '%s' does not exist" % file_path
)
assert os.access(file_path, os.R_OK), "Can not read '%s'" % file_path

Expand Down

1 comment on commit ff41b59

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pycoverage

Name Stmts Miss Cover Missing
pysubyt/api.py 138 3 97.83% 159 351 355
pysubyt/j2/generator.py 17 0 100.0%
pysubyt/sinks.py 90 12 86.67% 33-34 38 42 55 58 61 64 67 77 80 113
pysubyt/sources.py 215 22 89.77% 26 70-77 92-93 125 240 245-246 277 288 291-292 323 330
pysubyt/subyt.py 18 0 100.0%
TOTAL 478 37 92.26%

Please sign in to comment.