Skip to content

Commit

Permalink
Release new version in PyPI
Browse files Browse the repository at this point in the history
  • Loading branch information
hunyadi committed Apr 4, 2024
1 parent 31ab516 commit ae76211
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ disallow_untyped_defs = True
ignore_missing_imports = True
show_column_numbers = True
warn_redundant_casts = True
warn_unused_ignores = True
warn_unused_ignores = False
2 changes: 1 addition & 1 deletion pysqlsync/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
:see: https://github.com/hunyadi/pysqlsync
"""

__version__ = "0.5.0"
__version__ = "0.6.0"
__author__ = "Levente Hunyadi"
__copyright__ = "Copyright 2023-2024, Levente Hunyadi"
__license__ = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion pysqlsync/formation/object_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from strong_typing.inspection import is_dataclass_instance
from strong_typing.topological import topological_sort

from ..model.data_types import SqlDataType, SqlUserDefinedType, constant, quote
from ..model.data_types import SqlDataType, SqlUserDefinedType, constant
from ..model.id_types import LocalId, SupportsQualifiedId
from .object_dict import ObjectDict

Expand Down
2 changes: 1 addition & 1 deletion pysqlsync/formation/py_to_sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -893,7 +893,7 @@ def dataclasses_to_catalog(
enum_types = [obj for obj in referenced_types if is_type_enum(obj)]
enum_types.sort(key=lambda e: e.__name__)
for enum_type in enum_types:
enum_values = [str(e.value) for e in enum_type]
enum_values = [str(e.value) for e in enum_type] # type: ignore
if len(enum_values) < 2:
# enumerations with too few members expand into extensible enumeration tables
continue
Expand Down

0 comments on commit ae76211

Please sign in to comment.