mirror of
https://github.com/rio-labs/rio.git
synced 2026-04-29 07:29:39 -05:00
prevent ruff from breaking code
This commit is contained in:
@@ -3,7 +3,7 @@ repos:
|
||||
rev: v0.4.5
|
||||
hooks:
|
||||
- id: ruff
|
||||
args: [--select, F401, --select, I, --fix]
|
||||
args: [check, --select, F401, --select, I, --fix]
|
||||
- id: ruff-format
|
||||
|
||||
- repo: https://github.com/pre-commit/mirrors-prettier
|
||||
|
||||
+3
-1
@@ -5,8 +5,10 @@ from typing import * # type: ignore
|
||||
from .component_meta import ComponentMeta
|
||||
from .warnings import *
|
||||
|
||||
# The alias here is necessary to avoid ruff stupidly replacing the import with
|
||||
# a `pass`.
|
||||
if TYPE_CHECKING:
|
||||
pass
|
||||
import rio as rio
|
||||
|
||||
__all__ = [
|
||||
"deprecated",
|
||||
|
||||
Reference in New Issue
Block a user