Skip to content

Commit

Permalink
New Black has new ideas
Browse files Browse the repository at this point in the history
  • Loading branch information
dekoza committed Jun 17, 2021
1 parent 6b9db30 commit 9361c20
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Expand Up @@ -17,7 +17,7 @@ repos:
- id: isort

- repo: https://github.com/psf/black
rev: 21.5b2
rev: 21.6b0
hooks:
- id: black

Expand Down
6 changes: 5 additions & 1 deletion getpaid/backends/dummy/urls.py
Expand Up @@ -5,5 +5,9 @@
app_name = "dummy"

urlpatterns = [
path("callback/", views.CallbackView.as_view(), name="callback",),
path(
"callback/",
views.CallbackView.as_view(),
name="callback",
),
]
18 changes: 15 additions & 3 deletions getpaid/urls.py
Expand Up @@ -7,8 +7,20 @@

urlpatterns = [
path("new/", views.new_payment, name="create-payment"),
path("success/<uuid:pk>/", views.success, name="payment-success",),
path("failure/<uuid:pk>/", views.failure, name="payment-failure",),
path("callback/<uuid:pk>/", views.callback, name="callback",),
path(
"success/<uuid:pk>/",
views.success,
name="payment-success",
),
path(
"failure/<uuid:pk>/",
views.failure,
name="payment-failure",
),
path(
"callback/<uuid:pk>/",
views.callback,
name="callback",
),
path("", include(registry.urls)),
]
2 changes: 1 addition & 1 deletion pyproject.toml
Expand Up @@ -97,7 +97,7 @@ exclude = '''
| build
| dist
| docs
| migrations
| .+/migrations
)/
)
Expand Down

0 comments on commit 9361c20

Please sign in to comment.