Skip to content

Commit 71c144e

Browse files
committed
lint
1 parent 0f7b3ac commit 71c144e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

template/template.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,7 @@ def make_template(
119119

120120
# Copy configuration files
121121
template = (
122-
template
123-
.copy("matplotlibrc", ".config/matplotlib/.matplotlibrc")
122+
template.copy("matplotlibrc", ".config/matplotlib/.matplotlibrc")
124123
.copy("start-up.sh", ".jupyter/start-up.sh")
125124
.run_cmd("chmod +x .jupyter/start-up.sh")
126125
.copy("jupyter_server_config.py", ".jupyter/")
@@ -135,7 +134,9 @@ def make_template(
135134
template = template.run_cmd("mkdir -p /home/user")
136135
template = template.run_cmd("chown -R user:user /home/user")
137136
# add to sudoers
138-
template = template.run_cmd("echo 'user ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers")
137+
template = template.run_cmd(
138+
"echo 'user ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers"
139+
)
139140
# own everything in /root to user
140141
template = template.run_cmd("chown -R user:user /root")
141142

0 commit comments

Comments
 (0)