Skip to content

Commit 75a0ab4

Browse files
committed
Move type: ignore to config arg line to satisfy both ruff and pyright
1 parent dfc4aa8 commit 75a0ab4

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

confection/__init__.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -902,7 +902,11 @@ def _make(
902902
if not is_interpolated:
903903
config = Config(orig_config).interpolate()
904904
filled, _, resolved = cls._fill(
905-
config, schema, validate=validate, overrides=overrides, resolve=resolve # type: ignore[arg-type]
905+
config, # type: ignore[arg-type]
906+
schema,
907+
validate=validate,
908+
overrides=overrides,
909+
resolve=resolve,
906910
)
907911
filled = Config(filled, section_order=section_order)
908912
# Check that overrides didn't include invalid properties not in config

0 commit comments

Comments
 (0)