BoraxTheClean / adaptable-antelopes

Code Jam 2021 adaptable antelopes team
MIT License
1 stars 0 forks source link

Add black step to pre-commit #5

Closed BoraxTheClean closed 3 years ago

BoraxTheClean commented 3 years ago

Resolves #4

It is unclear to me if the new pre-commit GH action step plays well with black. The correct way to lint for black in CI is black --check .

BoraxTheClean commented 3 years ago

The pre-commit step in github action looks good, it is just running black . and if it would modify a file it returns a nonzero exit code.