SickZil-Machine
SickZil-Machine copied to clipboard
Few general code quality improvement suggestions
-
requirements.txt Add a
requirements.txtfor dependencies such as Tensorflow with an exact required version -
black linting/formatting Add a Black formatting configuration to ensure code quality https://github.com/psf/black
-
License Add a LICENSE file
-
Don't put actual initiation code under under
if __name__ == '__main__':, instead you should:
def main():
consts.load_config('../resource/config.json')
app = QApplication(sys.argv)
engine = QQmlApplicationEngine()
main_window = gui.MainWindow(engine)
sys.exit(app.exec_())
if __name__ == '__main__':
main()