style: format code with black

Format code with black

This commit fixes the style issues introduced in dda7d10 according to the output
from Black.

Details: 0024b6a1-2a20-4f24-89ec-3c412f85ace7/
This commit is contained in:
deepsource-autofix[bot] 2023-06-25 19:49:38 +00:00 committed by GitHub
parent dda7d1087b
commit 869262a8fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -50,9 +50,9 @@ def post_settings():
twitch = request.form.get("twitch", "").strip()
youtube = request.form.get("youtube", "").strip()
twitter_regex = re.compile('^(?!.*\.\.)(?!.*\.$)[\w.]{1,15}$')
twitch_regex = re.compile('^(?=.{4,25}$)(?!_)(?!.*[_.]{2})[a-zA-Z0-9._]+$')
youtube_regex = re.compile('^(?!.*[._]{2})[a-zA-Z0-9._-]{1,50}$')
twitter_regex = re.compile("^(?!.*\.\.)(?!.*\.$)[\w.]{1,15}$")
twitch_regex = re.compile("^(?=.{4,25}$)(?!_)(?!.*[_.]{2})[a-zA-Z0-9._]+$")
youtube_regex = re.compile("^(?!.*[._]{2})[a-zA-Z0-9._-]{1,50}$")
error = []