Skip to content

Commit

Permalink
pre-commit: Fix py38 support
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisv committed Jan 7, 2025
1 parent 5300ae4 commit 7449bd2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bindings/python/pinocchio/shortcuts.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@

## In this file, some shortcuts are provided ##

# TODO: Remove when 20.04 is not supported
from __future__ import annotations

from . import WITH_HPP_FCL, WITH_HPP_FCL_BINDINGS
from . import pinocchio_pywrap_default as pin

Expand Down
3 changes: 3 additions & 0 deletions bindings/python/pinocchio/visualize/meshcat_visualizer.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# TODO: Remove when 20.04 is not supported
from __future__ import annotations

import warnings
from pathlib import Path
from typing import ClassVar
Expand Down

0 comments on commit 7449bd2

Please sign in to comment.