-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added Black and Flake8 including workflow #1114
Conversation
Once this PR has been merged (or rejected if ya'll don't want it), I will submit a PR based on my |
Hi @TimidRobot sorry for the slow response. I'm not too quick to merge yet another formatting PR. I think the previous one used autopep8. Also I personally don't prefer I was also trying to figure out how to get github actions to auto-format markdown edit pull requests. Which seems is impossible when the PRs are on a fork. As a result, we might end up moving the workflows to circleci. See #780 So it might take a bit more time than usual to decide on this PR. Sorry about that. If you have advice on the topic, I'd be happy to hear it. |
Usually I find that style/syntax is only an issue when the convention is unclear. I like Black because it largely removes style/syntax as a discussion item in PRs. It becomes simply a matter of whether Black was run prior to committing (which the included workflow would indicate). |
I also really appreciate that Black saves me work. I can leave complex data structures "ugly" and divergent from anyone's coding standard and let Black do all the work for me. |
We're looking into using another ci for the github actions, so we probably won't look at this until after that's done. Thanks for the PRs though, I definitely like seeing some Black and Flake8 |
I'm happy to update the PR. Would you like me to remove the GitHub Actions workflow? |
@TimidRobot What I might do is merge this branch it into another branch I'm working on. I have black on save, so that's why the merge conflicts are so big right now. I know in your previous PR, you mentioned some code improvements you had in mind. I would say maybe focus on those and I'll try to get this pipeline merged into one of my branches when I have time. |
tools/README.md
:Unit tests passed on my laptop: