Skip to content

Commit dd29ad1

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent ade7bd9 commit dd29ad1

File tree

8 files changed

+6
-9
lines changed

8 files changed

+6
-9
lines changed

bash/Justfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
spack:
22
[ -d spack ] || git clone -c feature.manyFiles=true --depth=2 https://github.com/spack/spack.git
33
ln -s $PWD/spack/bin/spack $HOME/.local/bin/spack
4-
5-

bash/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
install: software
1+
install: software
22

33
time-los-angeles:
44
sudo timedatectl set-timezone America/Los_Angeles

bash/rocky.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,4 +177,4 @@ xrdp:
177177
sudo systemctl enable --now xrdp
178178
sudo passwd rocky
179179

180-
.PHONY: install docker photonics vim brew pip software config fish colors anaconda2 iterm tmux ipkiss3 lumerical dotfiles vnc nodejs klayout
180+
.PHONY: install docker photonics vim brew pip software config fish colors anaconda2 iterm tmux ipkiss3 lumerical dotfiles vnc nodejs klayout

bash/vnc/xstartup_kde

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ startkde &
1515
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
1616
xsetroot -solid grey
1717
vncconfig -iconic &
18-
konsole -geometry 80x24+10+10 -title "$VNCDESKTOP Desktop" &
18+
konsole -geometry 80x24+10+10 -title "$VNCDESKTOP Desktop" &

inc/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
from .app import app
55

66
if __name__ == "__main__":
7-
app()
7+
app()

inc/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ def cat(
225225
return
226226

227227
try:
228-
with open(script_path, "r") as f:
228+
with open(script_path) as f:
229229
print(f.read())
230230
except Exception as e:
231231
print(f"Error reading script: {e}")

inc/bash/dotfiles.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,3 @@ else
1717
cd ~/dotfiles/
1818
sh install
1919
fi
20-

tutorials/python/decorators2020/decorators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def _timer(*args, **kwargs):
1717
t0 = time.perf_counter()
1818
value = func(*args, **kwargs)
1919
t1 = time.perf_counter()
20-
print(f"elapsed time: {t1-t0} seconds")
20+
print(f"elapsed time: {t1 - t0} seconds")
2121
return value
2222

2323
return _timer

0 commit comments

Comments
 (0)