Lint using autoflake and isort

This commit is contained in:
Keannu Christian Bernasol 2024-10-31 00:33:13 +08:00
parent d126fdbd32
commit aa52da056c
35 changed files with 128 additions and 115 deletions

View file

@ -1,5 +1,5 @@
from django.urls import path
from billing import views
from django.urls import path
urlpatterns = [
path("", views.BillingHistoryView.as_view()),

View file

@ -1,12 +1,12 @@
from rest_framework import status
from rest_framework.views import APIView
from rest_framework.response import Response
from rest_framework.permissions import IsAuthenticated
from datetime import datetime
import stripe
from config.settings import STRIPE_SECRET_KEY
from django.core.cache import cache
from datetime import datetime
import stripe
from rest_framework import status
from rest_framework.permissions import IsAuthenticated
from rest_framework.response import Response
from rest_framework.views import APIView
# Make sure to set your secret key
stripe.api_key = STRIPE_SECRET_KEY