Skip to content

Commit

Permalink
Change version number to reuse a KiUtils constant
Browse files Browse the repository at this point in the history
  • Loading branch information
zardini123 committed Feb 20, 2023
1 parent bb63b59 commit f20ff9e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/kiutils/symbol.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
from kiutils.items.syitems import *
from kiutils.utils import sexpr
from kiutils.utils.strings import dequote
from kiutils.misc.config import KIUTILS_CREATE_NEW_VERSION_STR

@dataclass
class SymbolAlternativePin():
Expand Down Expand Up @@ -426,7 +427,7 @@ class SymbolLib():
Documentation:
https://dev-docs.kicad.org/en/file-formats/sexpr-symbol-lib/
"""
version: str = "20211014"
version: str = KIUTILS_CREATE_NEW_VERSION_STR
"""The ``version`` token attribute defines the symbol library version using the YYYYMMDD date format"""

generator: Optional[str] = None
Expand Down

0 comments on commit f20ff9e

Please # to comment.