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

[pre-commit.ci] pre-commit autoupdate #338

Merged
merged 4 commits into from
Oct 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ repos:
hooks:
- id: remove-tabs
- repo: https://github.com/codespell-project/codespell
rev: v2.2.6
rev: v2.3.0
hooks:
- id: codespell
exclude: ^(test/|units/|docs/reference/)
Expand All @@ -47,7 +47,7 @@ repos:
- id: end-of-file-fixer
- id: check-shebang-scripts-are-executable
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v18.1.5
rev: v19.1.0
hooks:
- id: clang-format
types_or: [c++, c]
Expand Down
1 change: 0 additions & 1 deletion config/spelling_ignorelines.txt
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
ThirdParty
1 change: 1 addition & 0 deletions config/spelling_whitelist.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
smoot
ThirdParty
4 changes: 2 additions & 2 deletions units/unit_definitions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -852,8 +852,8 @@ namespace precise {
return ((static_cast<std::uint32_t>(val >> bit) & 0x1U) > 0U) ? 1 :
0;
}
constexpr auto
bShiftu(std::uint16_t val, std::uint32_t bit) -> unsigned int
constexpr auto bShiftu(std::uint16_t val, std::uint32_t bit)
-> unsigned int
{
return ((static_cast<std::uint32_t>(val >> bit) & 0x1U) > 0U) ? 1U :
0U;
Expand Down
Loading