Skip to content
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

Clean up flake8 and yamllint issues #151

Merged
merged 12 commits into from
Apr 3, 2023
Merged

Clean up flake8 and yamllint issues #151

merged 12 commits into from
Apr 3, 2023

Conversation

QuLogic
Copy link
Member

@QuLogic QuLogic commented Mar 27, 2023

PR Summary

For consistency with Matplotlib, I added a config to set line length to 88 in both Python and YAML files.

I also went through the YAML files and added a period at the end of the description, fixed the keyword entries that were strings instead of lists, and ran codespell.

This is based on #149.

There appears to be no need to write `all.yml` as nothing outside the
build script uses it. The effect of using it is to re-order items and
flatten the outer dictionary into list.

But we can just do all that work when reading, and the sorting in the
template.
We only need to be in the context manager for the file reading.
@jklymak jklymak merged commit 8ea6a06 into matplotlib:main Apr 3, 2023
@QuLogic QuLogic deleted the style branch April 3, 2023 21:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants