Skip to content

Commit

Permalink
Ignore pyre error.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein committed Sep 27, 2023
1 parent 4bd91b6 commit 1e7295a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/antsibull/versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def load_constraints_if_exists(filename: str | os.PathLike[str]) -> dict[str, Se
result: dict[str, SemVerSpec] = {}
if not os.path.exists(filename):
return result
for line in parse_pieces_file(os.fspath(filename)):
for line in parse_pieces_file(os.fspath(filename)): # pyre-ignore[6]
record = [entry.strip() for entry in line.split(":", 1)]
if len(record) < 2:
raise ValueError(
Expand Down

0 comments on commit 1e7295a

Please sign in to comment.