Disable imports reordering & stop Pygame saying hello.

This commit is contained in:
Matthew Stratford 2020-10-30 22:15:51 +00:00
parent 7e2a974e5c
commit f29be9e38f
No known key found for this signature in database
GPG key ID: 5F50E4308A3416E8
2 changed files with 7 additions and 1 deletions

View file

@ -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"]

View file

@ -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