forked from Auto-Mech/autochem
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlint.sh
executable file
·33 lines (32 loc) · 887 Bytes
/
lint.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/usr/bin/env bash
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
FILES=(
"automol/inchi_key.py"
"automol/error.py"
"automol/util/_util.py"
"automol/util/__init__.py"
"automol/util/heuristic.py"
"automol/util/matrix.py"
"automol/util/ring.py"
"automol/util/tensor.py"
"automol/util/vector.py"
"automol/util/zmat.py"
"automol/util/dict_/_dict_.py"
"automol/util/dict_/multi.py"
"automol/form/_form.py"
"automol/form/reac.py"
"automol/mult/_mult.py"
"automol/mult/ts.py"
"automol/const.py"
"automol/vmat.py"
"automol/prop/_wfn.py"
"automol/prop/freq.py"
"automol/embed/_cleanup.py"
"automol/embed/_dgeom.py"
)
(
cd $SCRIPT_DIR
pre-commit run black --files ${FILES[@]}
pre-commit run ruff --files ${FILES[@]}
pre-commit run mypy --files ${FILES[@]}
)