Skip to content

Commit c7e9c63

Browse files
author
Andreas Poulsen
committed
Use new black format
1 parent f315725 commit c7e9c63

File tree

5 files changed

+1
-5
lines changed

5 files changed

+1
-5
lines changed

.gitlab-ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,6 @@ Lint python scripts:
4646
image: python:3.10-alpine
4747
before_script:
4848
- apk add --no-cache --virtual .deps gcc musl-dev
49-
- pip install black==22.12.0
49+
- pip install black
5050
script:
5151
- black --check --diff --exclude=migrations .

os2borgerpc/custom/kobenhavn/cicero_install_pam/raw_scripts/cicero_interface.py

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88

99
def cicero_validate(cicero_user, cicero_pass):
10-
1110
host_address = (
1211
check_output(["get_os2borgerpc_config", "admin_url"]).decode().strip()
1312
)

os2borgerpc/custom/kobenhavn/cicero_install_pam/raw_scripts/pam_module.py

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66

77
def pam_sm_authenticate(pamh, flags, argv):
8-
98
# print(pamh.fail_delay)
109
# http://pam-python.sourceforge.net/doc/html/
1110
username_msg = pamh.Message(pamh.PAM_PROMPT_ECHO_OFF, "Lånernummer eller CPR")

os2borgerpc_kiosk/os2borgerpc_kiosk/auto_activate_chromium.py

-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@
110110
expected.visibility_of_element_located((By.CLASS_NAME, "default--full-screen"))
111111
)
112112
except: # noqa: E722 - TODO: next refactor: investigate which exceptions specifically
113-
114113
print("Exception occured while waiting for OS2display screen.")
115114

116115
token = browser.execute_script("return localStorage.getItem('indholdskanalen_token')")

tools/plyvel_helper.py

-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ class PlyvelInterface:
2222
"""
2323

2424
def __init__(self):
25-
2625
# self.db = plyvel.DB('/home/' + user + '/snap/chromium/common/chromium/Default/Sync Data/LevelDB', create_if_missing=True, compression=None) # noqa E501
2726
self.db = plyvel.DB(
2827
"/home/"

0 commit comments

Comments
 (0)