This PR ports the application module from legacy/application.py, addressing #1 . Most changes include commenting, styling, and structuring.
The most significant functional change was to the call_hook method. Rather than determining a boolean value and returning after that process, the found hook is called in the return expression, returning None if the call fails.
Note that I replaced the string 'Vibora' in a few instances with 'Gato'. This change will need to be addressed consistently as we continue porting.
This PR also includes a semi-relevant restructuring of the directory structure for the legacy folder.
This PR ports the
application
module from legacy/application.py, addressing #1 . Most changes include commenting, styling, and structuring.The most significant functional change was to the
call_hook
method. Rather than determining a boolean value and returning after that process, the found hook is called in the return expression, returning None if the call fails.Note that I replaced the string 'Vibora' in a few instances with 'Gato'. This change will need to be addressed consistently as we continue porting.
This PR also includes a semi-relevant restructuring of the directory structure for the legacy folder.