Updating .gitignore and adding a bash script to format the code with black

This commit is contained in:
ein 2022-01-29 15:05:11 -08:00
parent dbe96d8595
commit c6db680805
3 changed files with 9 additions and 7 deletions

1
.gitignore vendored
View File

@ -4,3 +4,4 @@ dragon_bot_env
__pycache__ __pycache__
*.csv *.csv
*env *env
.syncthing*

1
format_code.sh Executable file
View File

@ -0,0 +1 @@
docker run -ti -v $(pwd):/tmp/python python bash -c "cd /tmp/python ; pip install black; black ."