Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Commit

Permalink
setup: reformat files with pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
DonHaul authored and drjova committed Sep 25, 2024
1 parent 9b9d06a commit 0f600fc
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion backoffice/backoffice/users/tasks.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from config import celery_app
from django.contrib.auth import get_user_model

from config import celery_app

User = get_user_model()


Expand Down
2 changes: 1 addition & 1 deletion backoffice/config/settings/local.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,6 @@
"client_id": env("ORCID_CLIENT_ID", default=""),
"secret": env("ORCID_CLIENT_SECRET", default=""),
},
"BASE_DOMAIN": "sandbox.orcid.org"
"BASE_DOMAIN": "sandbox.orcid.org",
}
}
3 changes: 1 addition & 2 deletions backoffice/config/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@
from django.contrib.staticfiles.urls import staticfiles_urlpatterns
from django.urls import include, path
from django.views import defaults as default_views
from django.views.decorators.csrf import csrf_exempt
from django.views.generic import TemplateView
from drf_spectacular.views import SpectacularAPIView, SpectacularSwaggerView
from rest_framework.authtoken.views import obtain_auth_token
from rest_framework_simplejwt.views import TokenObtainPairView, TokenRefreshView
from django.views.decorators.csrf import csrf_exempt


urlpatterns = [
path("", TemplateView.as_view(template_name="pages/home.html"), name="home"),
Expand Down
1 change: 1 addition & 0 deletions workflows/tests/test_author_create_tasks.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import pytest

from dags.author.author_create.shared_tasks import (
close_author_create_user_ticket,
)
Expand Down

0 comments on commit 0f600fc

Please sign in to comment.