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

chore: update hooks and Ruff config #4904

Merged
merged 1 commit into from
Oct 27, 2023

Conversation

henryiii
Copy link
Collaborator

Description

Update the hooks and update Ruff's config. Preparing for ruff-format.

@@ -157,7 +157,7 @@ py::array mkarray_via_buffer(size_t n) {
do { \
(s).bool_ = (i) % 2 != 0; \
(s).uint_ = (uint32_t) (i); \
(s).float_ = (float) (i) *1.5f; \
(s).float_ = (float) (i) * 1.5f; \
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Nice clang-format update. :)

Copy link
Collaborator

Choose a reason for hiding this comment

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

Wow, a free space!

@@ -662,8 +662,8 @@ TEST_SUBMODULE(pytypes, m) {
// This is "most correct" and enforced on these platforms.
Copy link
Collaborator

Choose a reason for hiding this comment

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

But why is it now also indenting this?
Just wondering. Maybe we get more free spaces here in the next upgrade?

@henryiii henryiii merged commit 3aece81 into pybind:master Oct 27, 2023
84 checks passed
@henryiii henryiii deleted the henryiii/chore/ruffup branch October 27, 2023 05:26
@github-actions github-actions bot added the needs changelog Possibly needs a changelog entry label Oct 27, 2023
@henryiii henryiii removed the needs changelog Possibly needs a changelog entry label Nov 15, 2023
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