Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
soitool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
bachelor-paa-bittet
soitool
Commits
d4986440
Commit
d4986440
authored
5 years ago
by
tholok97
Browse files
Options
Downloads
Patches
Plain Diff
La til docstringlinter
parent
02ac4414
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#69520
failed
5 years ago
Stage: lint
Stage: test
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+7
-0
7 additions, 0 deletions
.gitlab-ci.yml
soitool/__init__.py
+1
-0
1 addition, 0 deletions
soitool/__init__.py
soitool/main.py
+6
-6
6 additions, 6 deletions
soitool/main.py
with
14 additions
and
6 deletions
.gitlab-ci.yml
+
7
−
0
View file @
d4986440
...
...
@@ -23,6 +23,13 @@ job_lint_bandit:
script
:
-
bandit --version
-
bandit -r soitool
job_lint_pydocstyle
:
stage
:
lint
image
:
morkolai/paa-bittet-ci
script
:
-
pydocstyle --version
-
pydocstyle --convention=numpy soitool
job_test_gui_ubuntu_vnc
:
stage
:
test
...
...
This diff is collapsed.
Click to expand it.
soitool/__init__.py
+
1
−
0
View file @
d4986440
"""
SOI - Tool: Verktøy for å produsere SOIer.
"""
This diff is collapsed.
Click to expand it.
soitool/main.py
+
6
−
6
View file @
d4986440
"""
Applikasjon basert på popups
"""
Applikasjon basert på popups
.
Bare her for å ha noe å teste mens vi setter opp repo
Bare her for å ha noe å teste mens vi setter opp repo
.
"""
...
...
@@ -10,11 +10,12 @@ from PySide2 import QtWidgets
class
CoolWidget
(
QtWidgets
.
QWidget
):
"""
Enkel widget for å ha noe å teste
"""
Enkel widget for å ha noe å teste
.
Placeholderbeskrivelse
Placeholderbeskrivelse
.
"""
def
__init__
(
self
,
text
,
*
args
,
**
kwargs
):
super
(
CoolWidget
,
self
).
__init__
(
*
args
,
**
kwargs
)
...
...
@@ -34,8 +35,7 @@ class CoolWidget(QtWidgets.QWidget):
self
.
setLayout
(
layout
)
def
clickfunc
(
self
):
"""
Pop-up for å endre tekst. Koblet til knapp
"""
"""
Pop-up for å endre tekst. Koblet til knapp.
"""
# try-finally to set dialog to None is only useful for one of the
# testing methods described in test_main.py
try
:
...
...
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