You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Finish adoption / enforcement of Black code formatter #933
In #835, Tyler formatted the whole tree with Black and removed pycodestyle from the GitHub workflow. At the time he mentioned that it was fully implemented yet in the workflow.
In parallel I had added steps for using a pre-commit hook that included pycodestyle. I'm assuming not many people are using that because the current source tree doesn't pass either style at this point. :)
Running black --check --line-length 120 tableauserverclient samples test on the development branch shows 71 files which would be reformatted.
I'm inclined to finish the work of implementing black:
Swapping black for pycodestyle in the setup dependencies
Edit the pre-commit hook example in docs
Add a short explanation of black in the developer guide
Add black to the workflow
Do another big commit to make everything compliant with black again
Activity
bcantoni commentedon Jan 31, 2022
It looks like #935 covers everything except for 2&3 - I'll create a docs PR for those.
Update dev guide to reflect switch from pycodestyle to black
Update dev guide to reflect switch from pycodestyle to black (tableau…