Running the black command as given in the .travis.yml CI script produces the following:
$ black -l 120 --check
No Path provided. Nothing to do 😴
Running it with the foundry/ path gives:
black -l 120 --check foundry/
would reformat /mnt/c/development/fortenbt-foundry/foundry/game/gfx/objects/LevelObjectFactory.py
would reformat /mnt/c/development/fortenbt-foundry/foundry/game/gfx/objects/Jump.py
would reformat /mnt/c/development/fortenbt-foundry/foundry/game/gfx/drawable/Block.py
would reformat /mnt/c/development/fortenbt-foundry/foundry/game/gfx/objects/EnemyItem.py
would reformat /mnt/c/development/fortenbt-foundry/foundry/gui/AboutWindow.py
would reformat /mnt/c/development/fortenbt-foundry/foundry/gui/MainWindow.py
Oh no! 💥 💔 💥
6 files would be reformatted, 76 files would be left unchanged.
The branch that resolves this issue should also fix the code formatting in the given files.
Running the
black
command as given in the.travis.yml
CI script produces the following:Running it with the
foundry/
path gives:The branch that resolves this issue should also fix the code formatting in the given files.