Skip to content

Commit

Permalink
Fix dynamic variable assignment for pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
eschan145 committed Jan 23, 2025
1 parent 88cb280 commit ef36693
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions src/dieknow.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
"""DieKnow API.
"""

__all__ = []


import ctypes
try:
from ctypes import wintypes
Expand Down Expand Up @@ -73,23 +76,9 @@
for func_name in dir(lib):
if not func_name.startswith("_"):
globals()[func_name] = getattr(lib, func_name)
__all__.append(func_name)

folder_path = lib.get_folder_path()
#get_kill_method = lib.get_kill_method
#set_kill_method = lib.set_kill_method

#validate = lib.validate
#
#start_monitoring = lib.start_monitoring
#stop_monitoring = lib.stop_monitoring
#monitor_executables = lib.monitor_executables
#get_killed_count = lib.get_killed_count
#close_application_by_exe = lib.close_application_by_exe
#get_executables_in_folder = lib.get_executables_in_folder
#is_running = lib.is_running
#is_monitoring = lib.is_monitoring
#bsod = lib.bsod
#dialog = lib.dialog

del func_name

Expand Down

0 comments on commit ef36693

Please sign in to comment.