Skip to content

Commit

Permalink
fix: solve mypy errors which are due to same object names in core.py …
Browse files Browse the repository at this point in the history
…and channels.py (#3414)

* fix: solve mypy errors for altair.Color by being explicit in what is exported from core.py so that altair.Color is correctly identified as coming from channels.py

* Also exclude core.Text

* Fix ruff
  • Loading branch information
binste committed May 8, 2024
1 parent 3a9b23b commit f1b4e2c
Show file tree
Hide file tree
Showing 3 changed files with 435 additions and 2 deletions.
2 changes: 1 addition & 1 deletion altair/vegalite/v5/schema/__init__.py
@@ -1,7 +1,7 @@
# ruff: noqa

from .core import *
from .channels import * # type: ignore[assignment]
from .channels import *

SCHEMA_VERSION = "v5.17.0"

Expand Down

0 comments on commit f1b4e2c

Please sign in to comment.