Skip to content

Commit

Permalink
Black and ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
binste committed Sep 30, 2023
1 parent e0c841e commit 0e803bc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion altair/vegalite/v5/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def _get_channels_mapping():
# Tools for working with parameters
class Parameter(expr.core.OperatorMixin, object):
"""A Parameter object"""

# NOTE: If you change this class, make sure that the protocol in
# altair/vegalite/v5/schema/core.py is updated accordingly if needed.

Expand Down
2 changes: 1 addition & 1 deletion tools/generate_schema_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
CHANNEL_MYPY_IGNORE_STATEMENTS: Final = """\
# These errors need to be ignored as they come from the overload methods
# which trigger two kind of errors in mypy:
# * all of them do not have an implementation in this file
# * all of them do not have an implementation in this file
# * some of them are the only overload methods -> overloads usually only make
# sense if there are multiple ones
# However, we need these overloads due to how the propertysetter works
Expand Down
3 changes: 1 addition & 2 deletions tools/schemapi/codegen.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@
SchemaInfo,
is_valid_identifier,
indent_docstring,
SchemaProperties,
jsonschema_to_python_types,
flatten
flatten,
)


Expand Down
2 changes: 1 addition & 1 deletion tools/schemapi/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import re
import textwrap
import urllib
from typing import Final, Optional, List, Dict, Any, Iterable, Literal, overload
from typing import Final, Optional, List, Dict, Any, Iterable

from .schemapi import _resolve_references as resolve_references

Expand Down

0 comments on commit 0e803bc

Please sign in to comment.