Skip to content

Commit

Permalink
fix: fix typo in line display of exceptions (#1912)
Browse files Browse the repository at this point in the history
### Description

<!--Add a description of your PR here-->

### QC
<!-- Make sure that you can tick the boxes below. -->

* [x] The PR contains a test case for the changes or the changes are
already covered by an existing test case.
* [x] The documentation (`docs/`) is updated to reflect the changes or
this is not necessary (e.g. if the change does neither modify the
language nor the behavior or functionalities of Snakemake).
  • Loading branch information
johanneskoester committed Oct 18, 2022
1 parent a4dd327 commit 55e38a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snakemake/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def format_error(

location = ""
if lineno and snakefile:
location = f"in line {lineno} of {snakefile}"
location = f" in line {lineno} of {snakefile}"
if rule:
location = f" in rule {rule} {location}"

Expand Down

0 comments on commit 55e38a6

Please sign in to comment.