Skip to content

Commit

Permalink
Massive-Reformat-Pep8
Browse files Browse the repository at this point in the history
All code has been reformatted to the PEP 8 style guide. Read more about the style guide here: https://peps.python.org/pep-0008/
  • Loading branch information
Nick2bad4u committed Apr 12, 2024
1 parent fa49c77 commit 5ee58f9
Show file tree
Hide file tree
Showing 36 changed files with 1,601 additions and 916 deletions.
53 changes: 53 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,56 @@ modes/default/__pycache__/fastlvl.cpython-311.pyc
modes/default/__pycache__/gold.cpython-311.pyc
modes/default/__pycache__/powerlvl.cpython-311.pyc
modes/default/__pycache__/totallvl.cpython-311.pyc
.vs/BHBot/FileContentIndex/830ecabf-68dd-4f67-862b-84b0f1b16a92.vsidx
.vs/BHBot/FileContentIndex/70be95f4-aad0-4ddc-bbb7-b8d01b6f200f.vsidx
.vs/BHBot/FileContentIndex/38c310c6-7bd3-49d1-a0e5-eb50be03ed51.vsidx
.vs/BHBot/FileContentIndex/10bfabad-ccfe-4ef4-b9cd-8ada0f6d1a49.vsidx
.vs/BHBot/FileContentIndex/0c85c9e4-508d-4ee6-9efb-1fe400ab65da.vsidx
.vs/BHBot/v17/workspaceFileList.bin
.vs/BHBot/v17/DocumentLayout.json
.vs/BHBot/v17/Browse.VC.db
.vs/BHBot/v17/.wsuo
.vs/VSWorkspaceState.json
.vs/tasks.vs.json
.vs/slnx.sqlite
.vs/ProjectSettings.json
__pycache__/abstract_mode.cpython-311.pyc
__pycache__/bot.cpython-311.pyc
__pycache__/characters.cpython-311.pyc
__pycache__/client_config.cpython-311.pyc
__pycache__/config.cpython-311.pyc
__pycache__/direct_input.cpython-311.pyc
__pycache__/font_loader.cpython-311.pyc
__pycache__/levels.cpython-311.pyc
__pycache__/menu.cpython-311.pyc
__pycache__/utils.cpython-311.pyc
__pycache__/windows.cpython-311.pyc
__pycache__/abstract_mode.cpython-311.pyc
__pycache__/bot.cpython-311.pyc
__pycache__/characters.cpython-311.pyc
__pycache__/client_config.cpython-311.pyc
__pycache__/config.cpython-311.pyc
__pycache__/direct_input.cpython-311.pyc
__pycache__/font_loader.cpython-311.pyc
__pycache__/levels.cpython-311.pyc
__pycache__/menu.cpython-311.pyc
__pycache__/utils.cpython-311.pyc
__pycache__/windows.cpython-311.pyc
__pycache__/windows.cpython-311.pyc
__pycache__/abstract_mode.cpython-311.pyc
__pycache__/bot.cpython-311.pyc
__pycache__/characters.cpython-311.pyc
__pycache__/client_config.cpython-311.pyc
__pycache__/config.cpython-311.pyc
__pycache__/direct_input.cpython-311.pyc
__pycache__/font_loader.cpython-311.pyc
__pycache__/levels.cpython-311.pyc
__pycache__/menu.cpython-311.pyc
__pycache__/utils.cpython-311.pyc
__pycache__/windows.cpython-311.pyc
languages/__pycache__/english.cpython-311.pyc
languages/__pycache__/russian.cpython-311.pyc
modes/default/__pycache__/fastlvl.cpython-311.pyc
modes/default/__pycache__/gold.cpython-311.pyc
modes/default/__pycache__/powerlvl.cpython-311.pyc
modes/default/__pycache__/totallvl.cpython-311.pyc
Binary file modified __pycache__/abstract_mode.cpython-311.pyc
Binary file not shown.
Binary file modified __pycache__/bot.cpython-311.pyc
Binary file not shown.
Binary file modified __pycache__/characters.cpython-311.pyc
Binary file not shown.
Binary file modified __pycache__/client_config.cpython-311.pyc
Binary file not shown.
Binary file modified __pycache__/config.cpython-311.pyc
Binary file not shown.
Binary file modified __pycache__/direct_input.cpython-311.pyc
Binary file not shown.
Binary file modified __pycache__/font_loader.cpython-311.pyc
Binary file not shown.
Binary file modified __pycache__/levels.cpython-311.pyc
Binary file not shown.
Binary file modified __pycache__/menu.cpython-311.pyc
Binary file not shown.
Binary file modified __pycache__/utils.cpython-311.pyc
Binary file not shown.
Binary file modified __pycache__/windows.cpython-311.pyc
Binary file not shown.
4 changes: 3 additions & 1 deletion abstract_mode.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,7 @@ def get_name(cls):
if isinstance(cls.name, str):
return cls.name # Shouldn't be used, here for backwards compatibility
elif isinstance(cls.name, dict):
return cls.name.get(global_settings.language_name, cls.name.get('default', cls.__name__))
return cls.name.get(
global_settings.language_name, cls.name.get("default", cls.__name__)
)
return cls.__name__
Loading

0 comments on commit 5ee58f9

Please sign in to comment.