Core: add pre-commit and run it on all files
This commit is contained in:
parent
e119ea87f6
commit
0cc34422fe
15
.pre-commit-config.yaml
Normal file
15
.pre-commit-config.yaml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
# See https://pre-commit.com for more information
|
||||||
|
# See https://pre-commit.com/hooks.html for more hooks
|
||||||
|
---
|
||||||
|
repos:
|
||||||
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
|
rev: v3.2.0
|
||||||
|
hooks:
|
||||||
|
- id: trailing-whitespace
|
||||||
|
- id: end-of-file-fixer
|
||||||
|
- id: check-yaml
|
||||||
|
- id: check-added-large-files
|
||||||
|
- repo: https://github.com/rstcheck/rstcheck
|
||||||
|
rev: 'v6.1.0' # Use the sha / tag you want to point at
|
||||||
|
hooks:
|
||||||
|
- id: rstcheck
|
@ -197,6 +197,3 @@
|
|||||||
\end{enumerate}
|
\end{enumerate}
|
||||||
\end{minipage}
|
\end{minipage}
|
||||||
\end{exercise}
|
\end{exercise}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -57,5 +57,3 @@ On cherche à faire émerger la notion de tableau croisé. Pour cela on donne au
|
|||||||
|
|
||||||
Étape 3: Fréquence conditionnelle et fréquence marginale
|
Étape 3: Fréquence conditionnelle et fréquence marginale
|
||||||
--------------------------------------------------------
|
--------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
@ -10,4 +10,3 @@ source ~/.venv/enseignements/bin/activate
|
|||||||
goroot(){
|
goroot(){
|
||||||
cd $ROOT
|
cd $ROOT
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Binary file not shown.
@ -257,4 +257,3 @@ Quand on change la valeur de \verb+xstep+, il faut replacer \verb+x+ par \verb+\
|
|||||||
|
|
||||||
|
|
||||||
\end{document}
|
\end{document}
|
||||||
|
|
||||||
|
@ -67,4 +67,3 @@ export tribe=$tribe
|
|||||||
export duration=$duration
|
export duration=$duration
|
||||||
envsubst < ./tools/skeleton/eval/exercises.tex > $sequence_path/exercises.tex
|
envsubst < ./tools/skeleton/eval/exercises.tex > $sequence_path/exercises.tex
|
||||||
envsubst < ./tools/skeleton/eval/sujet.tex > $sequence_path/sujet.tex
|
envsubst < ./tools/skeleton/eval/sujet.tex > $sequence_path/sujet.tex
|
||||||
|
|
||||||
|
@ -113,4 +113,3 @@ for i in `ls $SKELETONPATH/$sequence_type`
|
|||||||
do
|
do
|
||||||
envsubst < $SKELETONPATH/$sequence_type/$i > $sequence_path/$i
|
envsubst < $SKELETONPATH/$sequence_type/$i > $sequence_path/$i
|
||||||
done
|
done
|
||||||
|
|
||||||
|
@ -24,4 +24,3 @@ Le barème est donné à titre indicatif, il pourra être modifié.
|
|||||||
%%% mode: latex
|
%%% mode: latex
|
||||||
%%% TeX-master: "master"
|
%%% TeX-master: "master"
|
||||||
%%% End:
|
%%% End:
|
||||||
|
|
||||||
|
@ -86,4 +86,3 @@
|
|||||||
|
|
||||||
\RequirePackage{enumitem}
|
\RequirePackage{enumitem}
|
||||||
\setlist[itemize,1]{label=$\bullet$}
|
\setlist[itemize,1]{label=$\bullet$}
|
||||||
|
|
||||||
|
@ -148,4 +148,3 @@
|
|||||||
\hfill
|
\hfill
|
||||||
\trainMode: pour s'entrainer
|
\trainMode: pour s'entrainer
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -315,4 +315,3 @@
|
|||||||
units=cm,
|
units=cm,
|
||||||
scale=.1,
|
scale=.1,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user