From 9c722c99549b3eb01e9c189f4ef6f2c13d24c7cb Mon Sep 17 00:00:00 2001 From: Dmitry Kalinkin Date: Sun, 13 Oct 2024 02:18:27 -0400 Subject: [PATCH] Add a basic .pre-commit-config.yaml --- .pre-commit-config.yaml | 7 +++++++ benchmarks/zdc_photon/config.yml | 1 - 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .pre-commit-config.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 00000000..15f050fc --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,7 @@ +repos: +- repo: https://github.com/pre-commit/pre-commit-hooks + rev: v5.0.0 + hooks: + - id: check-added-large-files + args: ['--maxkb=128'] + - id: check-yaml diff --git a/benchmarks/zdc_photon/config.yml b/benchmarks/zdc_photon/config.yml index aee4f6c6..d62cef61 100644 --- a/benchmarks/zdc_photon/config.yml +++ b/benchmarks/zdc_photon/config.yml @@ -29,7 +29,6 @@ bench:zdc_photon: collect_results:zdc_photon: extends: .det_benchmark stage: collect - extends: .det_benchmark needs: ["bench:zdc_photon"] script: - ls -al