autoformat.sh 199 Bytes
Newer Older
wangsen's avatar
wangsen committed
1
2
3
4
5
6
7
8
#!/bin/bash

SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )

# for now we just format core

black ${SCRIPT_DIR}/../megatron/core
isort ${SCRIPT_DIR}/../megatron/core