leapfrogtechnology / datamegh

Datamegh - Data Engineering for the cloud.
MIT License
2 stars 1 forks source link

Setup Black formatter tool and integrate it in CI #8

Closed Basanta78 closed 4 years ago

Basanta78 commented 4 years ago

Setup black as pre commit hook Setup travis CI to check if the files are black formatted or not Travis will stop build if the check fails stopbuild Note: Whole repo will be strictly formatted via black formatter

Need to run previously push code with black and update the repo

Resolves #3

kabirbaidhya commented 4 years ago

@Basanta78 Very well indeed. Ci is doing it's job :clap:. image

kabirbaidhya commented 4 years ago

@Basanta78 I'd request few more things here and it's good to go:

  1. Fix the whole code into black and update this branch and the build should pass.
  2. Add a make file command too make black which fixes all the formatting in black - probably just running black cli w/ some args?