Skip to content

Conversation

@henryiii
Copy link
Contributor

Summary

Close #95

Test Plan

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
Co-authored-by: Micha Reiser <micha@reiser.io>
@MichaReiser
Copy link
Member

Sorry for the oversight on our end and thanks for PRing a fix. This looks good but I'm also a complete pre-commit noob (and non-user). @AlexWaygood would you mind taking a look.

# Run the linter.
- id: ruff
types_or: [ python, pyi, jupyter ]
types_or: [ python, pyi ]
Copy link
Member

@AlexWaygood AlexWaygood Aug 15, 2024

Choose a reason for hiding this comment

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

types_or overwrites the default config in .pre-commit-hooks.yaml rather than extending it, correct? I think that's what we want this example to show, I'm just double-checking.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, that's how everything in pre-commit works. Users can override anything.

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Copy link
Member

@AlexWaygood AlexWaygood left a comment

Choose a reason for hiding this comment

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

Thanks!

@AlexWaygood AlexWaygood changed the title feat: check Jupyter notebooks by default, in sync with 0.6.0 Check Jupyter notebooks by default, in sync with 0.6.0 Aug 15, 2024
@AlexWaygood AlexWaygood merged commit 20d9ac3 into astral-sh:main Aug 15, 2024
@henryiii henryiii deleted the henryiii/feat/jupy branch August 15, 2024 16:28
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.

Jupyter support?

3 participants