Skip to content

Commit

Permalink
Upgrade pre-commit hooks
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Becker <[email protected]>
  • Loading branch information
sbckr committed Feb 17, 2023
1 parent 91fee3b commit af07be1
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@
#
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: v4.4.0
hooks:
- id: check-byte-order-marker
- id: end-of-file-fixer
- id: trailing-whitespace
- id: mixed-line-ending
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
rev: v2.0.0
rev: v2.6.0
hooks:
- id: pretty-format-java
args: [--autofix]
- repo: https://github.com/executablebooks/mdformat
rev: 0.7.7
rev: 0.7.16
hooks:
- id: mdformat
args:
Expand All @@ -28,7 +28,7 @@ repos:
- mdformat-gfm
exclude: ^3RD-PARTY-LICENSES$
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.27.1
rev: v0.33.0
hooks:
- id: markdownlint
exclude: ^README.md$
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2021 - for information on the respective copyright owner
* Copyright (c) 2023 - for information on the respective copyright owner
* see the NOTICE file and/or the repository https://github.com/carbynestack/cli.
*
* SPDX-License-Identifier: Apache-2.0
Expand Down Expand Up @@ -59,7 +59,9 @@ private List<TagFilter> getTagFilters(List<String> tagFilterStrings) throws CsCl
return tagFilters;
}

/** @throws CsCliRunnerException if given sort config cannot be parsed */
/**
* @throws CsCliRunnerException if given sort config cannot be parsed
*/
private Sort getSorting() throws CsCliRunnerException {
Sort sort = null;
if (getConfig().getSortBy() != null) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2021 - for information on the respective copyright owner
* Copyright (c) 2023 - for information on the respective copyright owner
* see the NOTICE file and/or the repository https://github.com/carbynestack/cli.
*
* SPDX-License-Identifier: Apache-2.0
Expand All @@ -17,6 +17,8 @@ public String[] getArgs() {
return args == null ? new String[0] : args.toArray(new String[args.size()]);
}

/** @return Carbyne Stack Service name */
/**
* @return Carbyne Stack Service name
*/
public abstract String getClientName();
}

0 comments on commit af07be1

Please sign in to comment.