diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e16a3847..37faf43a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -19,7 +19,7 @@ repos: - hooks: - id: gitleaks repo: https://github.com/gitleaks/gitleaks - rev: v8.23.2 + rev: v8.23.3 - hooks: - args: [--license-filepath=.github/license_template.txt, --use-current-year, --detect-license-in-X-top-lines=40, --skip-license-insertion-comment=Copyright] files: | @@ -59,12 +59,12 @@ repos: - hooks: - id: black repo: https://github.com/ambv/black - rev: 24.10.0 + rev: 25.1.0 - hooks: - args: ["--sp", ".github/linters"] id: isort repo: https://github.com/pycqa/isort - rev: 5.13.2 + rev: 6.0.0 - hooks: - args: ["--rcfile=.github/linters/.python-lint"] entry: pylint diff --git a/test-runner/utils/test.py b/test-runner/utils/test.py index 0529ca40..d059082c 100644 --- a/test-runner/utils/test.py +++ b/test-runner/utils/test.py @@ -32,6 +32,7 @@ class PerfException(Exception): class Threshold(BaseModel): "Constructs a Threshold class." + name: str modelName: str boundary: float @@ -41,12 +42,14 @@ class Threshold(BaseModel): class Volume(BaseModel): "Constructs a Volume class." + src: str dst: str class Test(BaseModel): "Runs the test command." + __test__ = False name: str cmd: str