Skip to content
Snippets Groups Projects

:shirt: mypy, pylint

Merged Vincent Hatakeyama requested to merge topic/17.0/mypy-pylint into branch/17.0
7 files
+ 44
42
Compare changes
  • Side-by-side
  • Inline
Files
7
+ 2
2
import json
import pkgutil
from typing import Any
from collections.abc import Generator
from collections.abc import Iterator
@@ -5,6 +5,6 @@
def get_schemas() -> Generator[Any]:
def get_schemas() -> Iterator[Any]:
for file_prefix in ("product",):
data: bytes | None = pkgutil.get_data(__name__, f"{file_prefix}.schema.json")
if data:
Loading