Skip to content

ENH: Use pre-commit#1165

Merged
larsoner merged 4 commits intosphinx-gallery:masterfrom
larsoner:black
Aug 14, 2023
Merged

ENH: Use pre-commit#1165
larsoner merged 4 commits intosphinx-gallery:masterfrom
larsoner:black

Conversation

@larsoner
Copy link
Copy Markdown
Contributor

Should come back green. Follow-up commit will uncomment the yamllint and fix the errors, then another to add the squash-and-merged commit to revs-ignore.

Running ruff and codespell on the entire codebase found some legitimate stuff. At some point it would be nice to have a (much) shorter ignore list for the docstring stuff, but that can be done later if someone gets bored.

@larsoner larsoner mentioned this pull request Aug 14, 2023
@larsoner larsoner enabled auto-merge (squash) August 14, 2023 12:56
@larsoner larsoner merged commit 3c9144d into sphinx-gallery:master Aug 14, 2023
Comment on lines +24 to +28
#- repo: https://github.com/adrienverge/yamllint.git
# rev: v1.32.0
# hooks:
# - id: yamllint
# args: [--strict, -c, .yamllint.yml]
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this meant to be uncommented or removed?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In a follow up PR I uncommented it, made the necessary changes, merged, then added that commit to revs-ignore because it just indented some stuff more

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah sorry did not see that, thanks for replying.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants