prevent ruff from breaking code

This commit is contained in:
Jakob Pinterits
2024-09-07 22:13:04 +02:00
parent 8553014cf2
commit dd60b413d4
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -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
View File
@@ -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",