File tree Expand file tree Collapse file tree 5 files changed +18
-17
lines changed
tensorflow-notebook/hooks Expand file tree Collapse file tree 5 files changed +18
-17
lines changed Original file line number Diff line number Diff line change 1515 rev : 2.0.0
1616 hooks :
1717 - id : bashate
18+ args : ['--ignore=E006']
1819 - repo : https://gitlab.com/pycqa/flake8
1920 rev : 3.8.3
2021 hooks :
Original file line number Diff line number Diff line change 1818set -e
1919
2020for d in " $@ " ; do
21- find " $d " \
22- ! \( \
23- -group $NB_GID \
24- -a -perm -g+rwX \
25- \) \
26- -exec chgrp $NB_GID {} \; \
27- -exec chmod g+rwX {} \;
28- # setuid,setgid *on directories only*
29- find " $d " \
30- \( \
31- -type d \
32- -a ! -perm -6000 \
33- \) \
34- -exec chmod +6000 {} \;
21+ find " $d " \
22+ ! \( \
23+ -group $NB_GID \
24+ -a -perm -g+rwX \
25+ \) \
26+ -exec chgrp $NB_GID {} \; \
27+ -exec chmod g+rwX {} \;
28+ # setuid, setgid *on directories only*
29+ find " $d " \
30+ \( \
31+ -type d \
32+ -a ! -perm -6000 \
33+ \) \
34+ -exec chmod +6000 {} \;
3535done
Original file line number Diff line number Diff line change @@ -42,4 +42,4 @@ $(docker run --rm ${IMAGE_NAME} conda list)
4242\`\`\`
4343$( docker run --rm ${IMAGE_NAME} apt list --installed)
4444\`\`\`
45- EOF
45+ EOF
Original file line number Diff line number Diff line change @@ -52,4 +52,4 @@ $(docker run --rm ${IMAGE_NAME} conda list)
5252\`\`\`
5353$( docker run --rm ${IMAGE_NAME} apt list --installed)
5454\`\`\`
55- EOF
55+ EOF
Original file line number Diff line number Diff line change @@ -42,4 +42,4 @@ $(docker run --rm ${IMAGE_NAME} conda list)
4242\`\`\`
4343$( docker run --rm ${IMAGE_NAME} apt list --installed)
4444\`\`\`
45- EOF
45+ EOF
You can’t perform that action at this time.
0 commit comments