RASMUS/Finnish-ASR-Canary-v2
02.2k
1# Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved.2#3# Licensed under the Apache License, Version 2.0 (the "License");4# you may not use this file except in compliance with the License.5# You may obtain a copy of the License at6#7# http://www.apache.org/licenses/LICENSE-2.08#9# Unless required by applicable law or agreed to in writing, software10# distributed under the License is distributed on an "AS IS" BASIS,11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.12# See the License for the specific language governing permissions and13# limitations under the License.14 15default_language_version:16 python: python317 18ci:19 autofix_prs: true20 autoupdate_commit_msg: '[pre-commit.ci] pre-commit suggestions'21 autoupdate_schedule: quarterly22 # skip all hooks that can change the files, use GitHub Action "code-formatting.yml" for this23 skip: [black,isort]24 25repos:26 - repo: https://github.com/pre-commit/pre-commit-hooks27 rev: v4.3.028 hooks:29 - id: check-yaml30 - id: check-case-conflict31 - id: detect-private-key32 - id: check-added-large-files33 args: ['--maxkb=1000']34 - id: requirements-txt-fixer35 36 - repo: https://github.com/PyCQA/isort37 rev: 5.13.238 hooks:39 - id: isort40 name: Format imports41 exclude: docs/42 43 # Using this mirror lets us use mypyc-compiled black, which is about 2x faster44 - repo: https://github.com/psf/black-pre-commit-mirror45 rev: 24.3.046 hooks:47 - id: black48 # It is recommended to specify the latest version of Python49 # supported by your project here, or alternatively use50 # pre-commit's default_language_version, see51 # https://pre-commit.com/#top_level-default_language_version52 language_version: python3.1053 