move code linting to a stricter pep8-esque auto-formatting tool, black

This commit is contained in:
Ryan Petrello
2021-03-19 12:44:51 -04:00
parent 9b702e46fe
commit c2ef0a6500
671 changed files with 20538 additions and 21924 deletions

View File

@@ -3,14 +3,7 @@
from django.conf.urls import url, include
from django.conf import settings
from awx.main.views import (
handle_400,
handle_403,
handle_404,
handle_500,
handle_csp_violation,
handle_login_redirect,
)
from awx.main.views import handle_400, handle_403, handle_404, handle_500, handle_csp_violation, handle_login_redirect
urlpatterns = [
@@ -29,9 +22,8 @@ urlpatterns = [
if settings.SETTINGS_MODULE == 'awx.settings.development':
try:
import debug_toolbar
urlpatterns += [
url(r'^__debug__/', include(debug_toolbar.urls))
]
urlpatterns += [url(r'^__debug__/', include(debug_toolbar.urls))]
except ImportError:
pass