Skip to content

Commit

Permalink
Fixed: f-string formatting
Browse files Browse the repository at this point in the history
Also added Andrew Hankinson to the authors list in pyproject.toml
  • Loading branch information
ahankinson committed Aug 14, 2024
1 parent 973ccf4 commit ee450a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion edtf/natlang/en.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def text_to_edtf(text: str) -> Optional[str]:
r2 = text_to_edtf_date(d2)

if r1 and r2:
result = r1 + "/" + r2
result = f"{r1}/{r2}"
return result

# is it an either/or year "1838/1862" - that has a different
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ authors = [
{ name = "Mark Finger" },
{ name = "Sabine Müller" },
{ name = "Cole Crawford" },
{ name = "Klaus Rettinghaus" }
{ name = "Klaus Rettinghaus" },
{ name = "Andrew Hankinson", email = "[email protected]" },
]
maintainers = [
{ name = "The Interaction Consortium", email = "[email protected]" }
Expand Down

0 comments on commit ee450a5

Please sign in to comment.