Skip to content

Commit

Permalink
add constants
Browse files Browse the repository at this point in the history
  • Loading branch information
offish committed Feb 13, 2024
1 parent 621daa9 commit a7383f7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
14 changes: 11 additions & 3 deletions src/tf2_data/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
__version__ = "0.0.6"
__license__ = "MIT"

from .schema import Schema, SchemaItems, IEconItems # noqa
from .static import * # noqa
from .files import EFFECTS, SCHEMA_ITEMS, DEFINDEX_NAMES # noqa
from .schema import Schema, SchemaItems, IEconItems
from .static import *
from .files import (
EFFECTS,
SCHEMA_ITEMS,
DEFINDEX_NAMES,
DEFINDEX_FULL_NAMES,
ITEM_NAME_IDS,
)

# flake8: noqa
1 change: 1 addition & 0 deletions src/tf2_data/files.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@

EFFECTS = read_lib_json_file("effects")
SCHEMA_ITEMS = read_lib_json_file("schema_items")
ITEM_NAME_IDS = read_lib_json_file("item_nameids")
DEFINDEX_NAMES = read_lib_json_file("defindex_names")
DEFINDEX_FULL_NAMES = read_lib_json_file("defindex_full_names")

0 comments on commit a7383f7

Please sign in to comment.