hamilton icon indicating copy to clipboard operation
hamilton copied to clipboard

Switch to black

Open skrawcz opened this issue 3 years ago • 1 comments

Change repository style to use the black formatter.

Changes

  • Change repository style to use the black formatter.
  • Adds .git-blame-ignore-revs file to skip the reformat commit

Testing

  1. N/A

Notes

The inconsistency in the current style was annoying. Switching to black now I think will pay dividends for the codebase.

Checklist

  • [ ] PR has an informative and human-readable title (this will be pulled into the release notes)
  • [ ] Changes are limited to a single goal (no scope creep)
  • [ ] Code can be automatically merged (no conflicts)
  • [ ] Code passed the pre-commit check & code is left cleaner/nicer than when first encountered.
  • [ ] Passes all existing automated tests
  • [ ] Any change in functionality is tested
  • [ ] New functions are documented (with a description, list of inputs, and expected output)
  • [ ] Placeholder code is flagged / future TODOs are captured in comments
  • [ ] Project documentation has been updated if adding/changing functionality.
  • [ ] Reviewers requested with the Reviewers tool :arrow_right:

Testing checklist

Python - local testing

  • [ ] python 3.6
  • [ ] python 3.7

skrawcz avatar Apr 21 '22 16:04 skrawcz

will redo this once tagging & data quality have been merged.

skrawcz avatar Apr 21 '22 16:04 skrawcz

#184 implemented this. closing

skrawcz avatar Aug 27 '22 03:08 skrawcz