Skip to content

Commit

Permalink
flake8
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Carlstrom <[email protected]>
  • Loading branch information
InvincibleRMC committed Sep 6, 2024
1 parent 9bbca00 commit 2dcbfd5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions rosidl_pycommon/rosidl_pycommon/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,12 @@
from typing_extensions import TypeAlias
import _typeshed

if hasattr(_typeshed, "FileDescriptorOrPath"):
from _typeshed import FileDescriptorOrPath
if hasattr(_typeshed, 'FileDescriptorOrPath'):
from _typeshed import FileDescriptorOrPath
else:
# Done since Windows and RHEL uses a mypy too old have FileDescriptorOrPath
FileDescriptorOrPath: TypeAlias = Any #type: ignore[misc, no-redef]
FileDescriptorOrPath: TypeAlias = Any # type: ignore[misc, no-redef]


def convert_camel_case_to_lower_case_underscore(value: str) -> str:
# insert an underscore before any upper case letter
Expand Down

0 comments on commit 2dcbfd5

Please sign in to comment.