Skip to content

Commit 68b4583

Browse files
pin versions
Signed-off-by: Ashwin Vaidya <[email protected]>
1 parent 1fcdd1c commit 68b4583

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

.github/workflows/pre_commit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
with:
2525
python-version: "3.10"
2626
- name: Install clang-format
27-
run: sudo apt-get install -y clang-format
27+
run: sudo apt-get install -y clang-format-10
2828
- name: Install dependencies
2929
run: pip install 'model_api/python/.[full]'
3030
- name: Run pre-commit checks

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ repos:
2525

2626
# C++ code quality
2727
- repo: https://github.com/cpp-linter/cpp-linter-hooks
28-
rev: v0.5.1 # Use the ref you want to point at
28+
rev: v0.5.1
2929
hooks:
3030
- id: clang-format
31-
args: [--style=file] # to load .clang-format
31+
args: [--style=file, --version=10]

examples/cpp/asynchronous_api/main.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
// See the License for the specific language governing permissions and
1414
// limitations under the License.
1515
*/
16-
1716
#include <adapters/openvino_adapter.h>
1817
#include <models/detection_model.h>
1918
#include <models/results.h>
@@ -89,7 +88,6 @@ int main(int argc, char* argv[]) try {
8988
model->inferAsync(image, {{"id", i}});
9089
}
9190
model->awaitAll();
92-
9391
} catch (const std::exception& error) {
9492
std::cerr << error.what() << '\n';
9593
return 1;

0 commit comments

Comments
 (0)