PyLint and PEP8 formatting

This commit is contained in:
Michael Lazar
2018-04-02 17:54:15 -04:00
parent ec951cf163
commit 100515769c
19 changed files with 103 additions and 85 deletions

View File

@@ -25,6 +25,7 @@ Thanks to the following people for their contributions to this project.
"""
def main():
logging.captureWarnings(True)
@@ -53,5 +54,6 @@ def main():
with open(FILENAME, 'wb') as fp:
fp.write(text)
if __name__ == '__main__':
main()

View File

@@ -79,5 +79,6 @@ def main():
with open(os.path.join(ROOT, 'rtv.1'), 'w') as fp:
fp.write(out)
if __name__ == '__main__':
main()

View File

@@ -278,5 +278,6 @@ def main():
theme = theme_list.next(theme)
theme = theme_list.previous(theme)
sys.exit(main())