summaryrefslogtreecommitdiffstats
path: root/run_checks.sh
blob: a7dddf4f4d3423a56c813ef5f95a95ddc1d775c7 (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 sqlglot/ tests/
python -m unittest