PyJaipur / PyJudge

Simple Programming Contest hosting software
MIT License
17 stars 29 forks source link

Integrate black into our project #93

Closed theSage21 closed 5 years ago

theSage21 commented 5 years ago

Our project now has some logic code (like the ranking function). Since these functions/computations can be written over multiple lines, code formatting becomes an issue. Different people have different styles of writing the same code.

To make collaboration easier, we don't leave it up to the programmer to select a style. We enforce a style using Black.

To solve this issue, go through the README of the Black project and set it up with the git pre commit hook method as mentioned in this part of the README

rishabhKalakoti commented 5 years ago

94 : integrated black. (closed)

95 : installed pre-commit, black