Skip to content
Snippets Groups Projects
Commit d4986440 authored by tholok97's avatar tholok97
Browse files

La til docstringlinter

parent 02ac4414
No related branches found
No related tags found
No related merge requests found
Pipeline #69520 failed
......@@ -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
......
"""SOI - Tool: Verktøy for å produsere SOIer."""
"""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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment