Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#338)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/codespell-project/codespell: v2.2.6 → v2.3.0](codespell-project/codespell@v2.2.6...v2.3.0)
- [github.com/pre-commit/mirrors-clang-format: v18.1.5 → v19.1.0](pre-commit/mirrors-clang-format@v18.1.5...v19.1.0)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* update spelling whitelist

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Philip Top <phlptp@gmail.com>
  • Loading branch information
pre-commit-ci[bot] and phlptp authored Oct 2, 2024
1 parent fb20ef8 commit 1cd73e9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
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

0 comments on commit 1cd73e9

Please sign in to comment.