anaconda / percy

A tool to work on recipes from aggregate.
BSD 3-Clause "New" or "Revised" License
9 stars 0 forks source link

Enforcing Automatic Code formatting #52

Closed schuylermartin45 closed 1 year ago

schuylermartin45 commented 1 year ago

This PR contains no human changes, outside of edits to the Makefile.

I ran black and isort against the entire project, in preparation for a future linting fix PR.

From this point forward, black and isort will run against all files in Percy.

black and isort have been configured to play nice with each other AND to work without fighting against the pylintrc file we've adapted from Google's linting rules.

schuylermartin45 commented 1 year ago

black defaults to 88, Google's linting rules enforce 80. There was a method to the madness :)

schuylermartin45 commented 1 year ago

By popular demand: https://github.com/anaconda-distribution/percy/pull/53