diff --git a/.husky/pre-commit b/.husky/pre-commit index 6ec6a3ff..f10cf0ba 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -2,4 +2,4 @@ . "$(dirname "$0")/_/husky.sh" npx lint-staged -poetry run pre-commit run --hook-stage commit \ No newline at end of file +poetry run pre-commit run --hook-stage commit diff --git a/api/urls.py b/api/urls.py index 73fe28b1..066db305 100644 --- a/api/urls.py +++ b/api/urls.py @@ -13,10 +13,10 @@ router = DefaultRouter() # regions -router.register(r"communes", regions_views.CommuneViewSet) +router.register(r'communes', regions_views.CommuneViewSet) -app_name = "api" +app_name = 'api' urlpatterns = [ - path("", include(router.urls)), + path('', include(router.urls)), ] diff --git a/manage.py b/manage.py index 32c33845..40055113 100755 --- a/manage.py +++ b/manage.py @@ -17,7 +17,7 @@ raise ImportError( "Couldn't import Django. Are you sure it's installed and " "available on your PYTHONPATH environment variable? Did you " - "forget to activate a posetry environment (poetry shell)?" + "forget to activate a poetry environment (poetry shell)?" ) raise execute_from_command_line(sys.argv)