mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-04 19:26:52 +00:00
15 lines
329 B
Python
15 lines
329 B
Python
# shim for pylib going away
|
|
# if pylib is installed this file will get skipped
|
|
# (`py/__init__.py` has higher precedence)
|
|
from __future__ import annotations
|
|
|
|
import sys
|
|
|
|
import _pytest._py.error as error
|
|
import _pytest._py.path as path
|
|
|
|
|
|
sys.modules['py.error'] = error
|
|
sys.modules['py.path'] = path
|
|
|
|
__all__ = ['error', 'path']
|