summaryrefslogtreecommitdiffstats
path: root/run_checks.sh
blob: 770f443c2eb432065b4dc94b3c6bce3f21fa9b51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash -e

python -m autoflake -i -r \
  --expand-star-imports \
  --remove-all-unused-imports \
  --ignore-init-module-imports \
  --remove-duplicate-keys \
  --remove-unused-variables \
  sqlglot/ tests/
python -m isort --profile black sqlglot/ tests/
python -m black --line-length 120 sqlglot/ tests/
python -m unittest