Skip to content
This repository was archived by the owner on Nov 28, 2025. It is now read-only.

Commit 8106849

Browse files
authored
Merge pull request #117 from stack-of-tasks/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents 6053dd3 + 1a02389 commit 8106849

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ ci:
33
autoupdate_branch: 'devel'
44
repos:
55
- repo: https://github.com/pre-commit/mirrors-clang-format
6-
rev: v20.1.8
6+
rev: v21.1.2
77
hooks:
88
- id: clang-format
99
args: [--style=Google]
@@ -25,8 +25,8 @@ repos:
2525
- id: fix-byte-order-marker
2626
- id: mixed-line-ending
2727
- id: trailing-whitespace
28-
- repo: https://github.com/psf/black
29-
rev: 25.1.0
28+
- repo: https://github.com/psf/black-pre-commit-mirror
29+
rev: 25.9.0
3030
hooks:
3131
- id: black
3232
- repo: https://github.com/PyCQA/flake8

tests/custom_entity.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ void CustomEntity::rmValidSignal() {
4646
signalDeregistration("out_double");
4747
}
4848

49-
double &CustomEntity::update(double &res, const sigtime_t &inTime) {
50-
const double &aDouble = m_sigdSIN(inTime);
49+
double& CustomEntity::update(double& res, const sigtime_t& inTime) {
50+
const double& aDouble = m_sigdSIN(inTime);
5151
res = aDouble;
5252
logger().stream(MSG_TYPE_ERROR) << "start update " << res << '\n';
5353
DYNAMIC_GRAPH_ENTITY_DEBUG(*this)

tests/custom_entity.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class CustomEntity : public Entity {
2424

2525
void rmValidSignal();
2626

27-
double &update(double &res, const sigtime_t &inTime);
27+
double& update(double& res, const sigtime_t& inTime);
2828

2929
void act();
3030
};

0 commit comments

Comments
 (0)