Skip to content

Commit

Permalink
fixup! Pre-commit update
Browse files Browse the repository at this point in the history
  • Loading branch information
HexDecimal committed Nov 25, 2024
1 parent 8943948 commit c364e39
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 18 deletions.
2 changes: 1 addition & 1 deletion build_libtcod.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ def write_library_constants() -> None:
f.write(f"""{parse_sdl_attrs("SDLK", None)[0]}\n""")

f.write("\n# --- SDL keyboard modifiers ---\n")
f.write("{}\n_REVERSE_MOD_TABLE = {}\n".format(*parse_sdl_attrs("KMOD", all_names)))
f.write("{}\n_REVERSE_MOD_TABLE = {}\n".format(*parse_sdl_attrs("KMOD", None)))

f.write("\n# --- SDL wheel ---\n")
f.write("{}\n_REVERSE_WHEEL_TABLE = {}\n".format(*parse_sdl_attrs("SDL_MOUSEWHEEL", all_names)))
Expand Down
17 changes: 0 additions & 17 deletions tcod/event_constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -540,23 +540,6 @@
}

__all__ = [ # noqa: RUF022
"KMOD_NONE",
"KMOD_LSHIFT",
"KMOD_RSHIFT",
"KMOD_SHIFT",
"KMOD_LCTRL",
"KMOD_RCTRL",
"KMOD_CTRL",
"KMOD_LALT",
"KMOD_RALT",
"KMOD_ALT",
"KMOD_LGUI",
"KMOD_RGUI",
"KMOD_GUI",
"KMOD_NUM",
"KMOD_CAPS",
"KMOD_MODE",
"KMOD_SCROLL",
"MOUSEWHEEL_NORMAL",
"MOUSEWHEEL_FLIPPED",
"MOUSEWHEEL",
Expand Down

0 comments on commit c364e39

Please sign in to comment.