CoolFace
Apppublic

CompileError/WebCoderBench

sourceHugging Faceapache-2.0updated 5mo agoView on Hugging Face
0likes
.pre-commit-config.yaml54 linesDownload Raw Back to root
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 23repos:24  - repo: https://github.com/pre-commit/pre-commit-hooks25    rev: v4.3.026    hooks:27      - id: check-yaml28      - id: check-case-conflict29      - id: detect-private-key30      - id: check-added-large-files31        args: ['--maxkb=1000']32      - id: requirements-txt-fixer33      - id: end-of-file-fixer34      - id: trailing-whitespace35 36  - repo: https://github.com/PyCQA/isort37    rev: 5.12.038    hooks:39      - id: isort40        name: Format imports41 42  - repo: https://github.com/psf/black43    rev: 22.12.044    hooks:45      - id: black46        name: Format code47        additional_dependencies: ['click==8.0.2']48 49  - repo: https://github.com/charliermarsh/ruff-pre-commit50    # Ruff version.51    rev: 'v0.0.267'52    hooks:53      - id: ruff54