Skip to content

Commit

Permalink
Adjust linting for BundleOpt
Browse files Browse the repository at this point in the history
  • Loading branch information
addyess committed Apr 29, 2024
1 parent 9817d3a commit 063ebd0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ dist/
*.orig
report
.coverage
juju-crashdump*
juju-crashdump*

2 changes: 1 addition & 1 deletion pytest_operator/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ class ModelInUseError(Exception):
"""Raise when trying to add a model alias which already exists."""


BundleOpt = TypeVar("BundleOpt", str, Path, "OpsTest.Bundle")
BundleOpt = Union[str, Path, "OpsTest.Bundle"]
Timeout = TypeVar("Timeout", float, int)


Expand Down

0 comments on commit 063ebd0

Please sign in to comment.