Skip to content
Snippets Groups Projects
Commit e684f25e authored by robinwilliam.hundt's avatar robinwilliam.hundt
Browse files

Current status of pre-commit.

Not working!
parent 0acfd677
No related branches found
No related tags found
2 merge requests!15Refactor,!14Pre commit
Pipeline #
...@@ -3,6 +3,6 @@ repos: ...@@ -3,6 +3,6 @@ repos:
hooks: hooks:
- id: prospector - id: prospector
name: prospector name: prospector
entry: prospector --uses django entry: python -m prospector -u django
language: system language: system
types: [python] types: [python]
\ No newline at end of file
...@@ -9,6 +9,7 @@ from core.serializers import (FeedbackSerializer, StudentSerializer, ...@@ -9,6 +9,7 @@ from core.serializers import (FeedbackSerializer, StudentSerializer,
log = logging.getLogger(__name__) log = logging.getLogger(__name__)
class StudentApiView(RetrieveAPIView): class StudentApiView(RetrieveAPIView):
permission_classes = (IsStudent,) permission_classes = (IsStudent,)
......
#!/bin/bash
cd backend
prospector --uses django
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment