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 #30

Merged
merged 2 commits into from
Jan 16, 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
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ fail_fast: false

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: 'v4.4.0'
rev: 'v4.5.0'
hooks:
- id: check-added-large-files
args: ['--maxkb=500']
Expand Down Expand Up @@ -35,25 +35,25 @@ repos:
- id: forbid-binary

- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: 'v1.3.1'
rev: 'v1.5.4'
hooks:
- id: remove-crlf
- id: remove-tabs
args: ['--whitespaces-count', '2']

- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
rev: '2.6.2'
rev: '2.7.3'
hooks:
- id: editorconfig-checker

- repo: https://github.com/igorshubovych/markdownlint-cli
rev: 'v0.33.0'
rev: 'v0.38.0'
hooks:
- id: markdownlint
args: ['--config=.markdownlint.yml','scan']

- repo: https://github.com/codespell-project/codespell
rev: 'v2.2.2'
rev: 'v2.2.6'
hooks:
- id: codespell

Expand All @@ -66,12 +66,12 @@ repos:
args: ['--config=.cmake-linter.yml']

- repo: https://github.com/sirosen/check-jsonschema
rev: '0.20.0'
rev: '0.27.3'
hooks:
- id: check-github-workflows

- repo: https://github.com/pre-commit/mirrors-clang-format
rev: 'v15.0.6'
rev: 'v17.0.6'
hooks:
- id: clang-format

Expand Down
2 changes: 1 addition & 1 deletion src/yaodaq/Key.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ std::int_least8_t Key::getDomain() const { return ( m_Key >> 24 ) & 0xFF; }

std::int_least8_t Key::getClass() const { return ( m_Key >> 16 ) & 0xFF; }

std::int_least16_t Key::getFamily() const { return (m_Key)&0xFFFF; }
std::int_least16_t Key::getFamily() const { return ( m_Key ) & 0xFFFF; }

std::int_least32_t Key::getKey() const { return m_Key; }

Expand Down
Loading