diff --git a/dev/pre-commit b/dev/pre-commit index c23b75c..3e5a081 100644 --- a/dev/pre-commit +++ b/dev/pre-commit @@ -9,9 +9,10 @@ import subprocess import sys import tempfile +#See for codes https://pypi.org/project/autopep8/ #features # don't fill in both of these select_codes = [] -ignore_codes = [] #"E121", "E122", "E123", "E124", "E125", "E126", "E127", "E128", "E129", "E131", "E501"] +ignore_codes = ["E402","E226","E24","W50","W690"] #"E121", "E122", "E123", "E124", "E125", "E126", "E127", "E128", "E129", "E131", "E501"] # Add things like "--max-line-length=120" below overrides = ["--max-line-length=120"] diff --git a/player.py b/player.py index 1be40bf..0d4f2d1 100644 --- a/player.py +++ b/player.py @@ -10,7 +10,12 @@ import setproctitle import copy import json import time + +# Stop the Pygame Hello message. +import os +os.environ['PYGAME_HIDE_SUPPORT_PROMPT'] = "hide" from pygame import mixer + from helpers.state_manager import StateManager from helpers.logging_manager import LoggingManager from mutagen.mp3 import MP3