Skip to content

Commit 7449bd2

Browse files
committed
pre-commit: Fix py38 support
1 parent 5300ae4 commit 7449bd2

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

bindings/python/pinocchio/shortcuts.py

+3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55

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

8+
# TODO: Remove when 20.04 is not supported
9+
from __future__ import annotations
10+
811
from . import WITH_HPP_FCL, WITH_HPP_FCL_BINDINGS
912
from . import pinocchio_pywrap_default as pin
1013

bindings/python/pinocchio/visualize/meshcat_visualizer.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# TODO: Remove when 20.04 is not supported
2+
from __future__ import annotations
3+
14
import warnings
25
from pathlib import Path
36
from typing import ClassVar

0 commit comments

Comments
 (0)