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

Commit ee5d70e

Browse files
authored
Merge pull request #223 from stack-of-tasks/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents 1ad5823 + 345b36a commit ee5d70e

18 files changed

+43
-40
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ ci:
22
autoupdate_branch: 'devel'
33
repos:
44
- repo: https://github.com/pre-commit/mirrors-clang-format
5-
rev: v17.0.3
5+
rev: v20.1.8
66
hooks:
77
- id: clang-format
88
args: ['--style={BasedOnStyle: Google,SortIncludes: false}']
99
- repo: https://github.com/pre-commit/pre-commit-hooks
10-
rev: v4.5.0
10+
rev: v6.0.0
1111
hooks:
1212
- id: check-added-large-files
1313
- id: check-ast
@@ -25,11 +25,11 @@ repos:
2525
- id: mixed-line-ending
2626
- id: trailing-whitespace
2727
- repo: https://github.com/psf/black
28-
rev: 23.10.0
28+
rev: 25.1.0
2929
hooks:
3030
- id: black
3131
- repo: https://github.com/PyCQA/flake8
32-
rev: 6.1.0
32+
rev: 7.3.0
3333
hooks:
3434
- id: flake8
3535
- repo: https://github.com/cheshirekow/cmake-format-precommit

include/sot/core/binary-op.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class BinaryOp : public Entity {
6565
op.addSpecificCommands(*this, commandMap);
6666
}
6767

68-
virtual ~BinaryOp(void){};
68+
virtual ~BinaryOp(void) {};
6969

7070
public: /* --- SIGNAL --- */
7171
SignalPtr<Tin1, sigtime_t> SIN1;

include/sot/core/derivator.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class Derivator : public dynamicgraph::Entity {
6565
timestepSIN.setKeepReference(true);
6666
}
6767

68-
virtual ~Derivator(void){};
68+
virtual ~Derivator(void) {};
6969

7070
public: /* --- SIGNAL --- */
7171
dynamicgraph::SignalPtr<T, sigtime_t> SIN;

include/sot/core/feature-abstract.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ class SOT_CORE_EXPORT FeatureAbstract : public Entity {
9090
/*! \brief Default constructor: the name of the class should be given. */
9191
FeatureAbstract(const std::string &name);
9292
/*! \brief Default destructor */
93-
virtual ~FeatureAbstract(void){};
93+
virtual ~FeatureAbstract(void) {};
9494

9595
/*! \name Methods returning the dimension of the feature.
9696
@{ */

include/sot/core/latch.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class Latch : public Entity {
7575
docCommandVoid0("Turn off the latch")));
7676
}
7777

78-
virtual ~Latch(void){};
78+
virtual ~Latch(void) {};
7979
};
8080
} /* namespace sot */
8181
} /* namespace dynamicgraph */

include/sot/core/parameter-server.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class SOTParameterServer_EXPORT ParameterServer
6262
/* --- CONSTRUCTOR ---- */
6363
ParameterServer(const std::string &name);
6464

65-
~ParameterServer(){};
65+
~ParameterServer() {};
6666

6767
/// Initialize
6868
/// @param dt: control interval

include/sot/core/sequencer.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class SOTSEQUENCER_EXPORT Sequencer : public dynamicgraph::Entity {
6565
size_type eventType;
6666

6767
public:
68-
sotEventAbstract(const std::string &name) : name(name){};
68+
sotEventAbstract(const std::string &name) : name(name) {};
6969
virtual ~sotEventAbstract(void) {}
7070
virtual const std::string &getName() const { return name; }
7171
size_type getEventType() const { return eventType; }

include/sot/core/smooth-reach.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class SOTSMOOTHREACH_EXPORT SmoothReach : public dynamicgraph::Entity {
5858

5959
public: /* --- CONSTRUCTION --- */
6060
SmoothReach(const std::string &name);
61-
virtual ~SmoothReach(void){};
61+
virtual ~SmoothReach(void) {};
6262

6363
public: /* --- SIGNAL --- */
6464
dynamicgraph::SignalPtr<dynamicgraph::Vector, sigtime_t> startSIN;

include/sot/core/sot.hh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,7 @@ class SOTSOT_CORE_EXPORT Sot : public Entity {
101101
public:
102102
/*! \brief Default constructor */
103103
Sot(const std::string &name);
104-
~Sot(void) { /* TODO!! */
105-
}
104+
~Sot(void) { /* TODO!! */ }
106105

107106
/*! \name Methods to handle the stack.
108107
@{

include/sot/core/task-abstract.hh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ class SOT_CORE_EXPORT TaskAbstract : public dynamicgraph::Entity {
5353
/* Use a derivative of this class to store computational memory. */
5454
class MemoryTaskAbstract {
5555
public:
56-
MemoryTaskAbstract(void){};
57-
virtual ~MemoryTaskAbstract(void){};
56+
MemoryTaskAbstract(void) {};
57+
virtual ~MemoryTaskAbstract(void) {};
5858

5959
public:
6060
virtual void display(std::ostream &os) const = 0;

0 commit comments

Comments
 (0)