Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
grady
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jan Maximilian Michal
grady
Commits
e684f25e
There was a problem fetching the pipeline summary.
Commit
e684f25e
authored
7 years ago
by
robinwilliam.hundt
Browse files
Options
Downloads
Patches
Plain Diff
Current status of pre-commit.
Not working!
parent
0acfd677
No related branches found
No related tags found
2 merge requests
!15
Refactor
,
!14
Pre commit
Pipeline
#
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.pre-commit-config.yaml
+2
-2
2 additions, 2 deletions
.pre-commit-config.yaml
backend/core/views.py
+1
-0
1 addition, 0 deletions
backend/core/views.py
prospector.sh
+4
-0
4 additions, 0 deletions
prospector.sh
with
7 additions
and
2 deletions
.pre-commit-config.yaml
+
2
−
2
View file @
e684f25e
...
@@ -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
This diff is collapsed.
Click to expand it.
backend/core/views.py
+
1
−
0
View file @
e684f25e
...
@@ -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
,)
...
...
This diff is collapsed.
Click to expand it.
prospector.sh
0 → 100755
+
4
−
0
View file @
e684f25e
#!/bin/bash
cd
backend
prospector
--uses
django
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment