Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
website
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Roman Karwacik
website
Commits
53ee1c77
Unverified
Commit
53ee1c77
authored
5 years ago
by
Andreas Valder
Browse files
Options
Downloads
Patches
Plain Diff
fix some linter errors
parent
efdac5b6
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
.gitlab-ci.yml
chapters.py
+2
-2
2 additions, 2 deletions
chapters.py
with
3 additions
and
3 deletions
.gitlab-ci.yml
+
1
−
1
View file @
53ee1c77
...
...
@@ -7,7 +7,7 @@ linter:
-
python3 -V
-
uname -a
-
apt install -y sqlite3 locales-all git python3-flask python3-ldap3 python3-requests python3-lxml python3-icalendar python3-mysql.connector python3-requests python3-coverage pylint3
-
pylint3 --indent-string='\t' --indent-after-paren=1 --max-line-length=160 --output-format=text *.py | tee pylint.txt
-
pylint3 --indent-string='\t' --indent-after-paren=1 --max-line-length=160
--docstring-min-length=9999
--output-format=text *.py | tee pylint.txt
artifacts
:
paths
:
-
pylint.txt
...
...
This diff is collapsed.
Click to expand it.
chapters.py
+
2
−
2
View file @
53ee1c77
...
...
@@ -31,8 +31,8 @@ def suggest_chapter(lectureid):
if
'
ref
'
in
request
.
values
:
flash
(
'
Falsches Zeitformat,
"
%H:%M:%S
"
wird erwartet. Z.B.
"
01:39:42
"
für eine Kapitel bei Stunde 1, Minute 39, Sekunde 42
'
)
return
redirect
(
request
.
values
[
'
ref
'
])
return
'
Wrong time format,
"
%H:%M:%S
"
is expected
'
,
400
return
'
Wrong time format,
"
%H:%M:%S
"
is expected
'
,
400
submitter
=
None
if
not
ismod
():
submitter
=
request
.
environ
[
'
REMOTE_ADDR
'
]
...
...
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