mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 01:32:18 +02:00
Fix pre-commit warnings for deprecated stage names (#11276)
This commit is contained in:
parent
935c568082
commit
074f75838e
@ -15,11 +15,11 @@
|
|||||||
# specific language governing permissions and limitations
|
# specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
---
|
---
|
||||||
default_stages: [commit, push]
|
default_stages: [pre-commit, pre-push]
|
||||||
default_language_version:
|
default_language_version:
|
||||||
# force all unspecified Python hooks to run python3
|
# force all unspecified Python hooks to run python3
|
||||||
python: python3
|
python: python3
|
||||||
minimum_pre_commit_version: "2.17.0"
|
minimum_pre_commit_version: "3.2.0"
|
||||||
repos:
|
repos:
|
||||||
- repo: meta
|
- repo: meta
|
||||||
hooks:
|
hooks:
|
||||||
@ -32,7 +32,7 @@ repos:
|
|||||||
name: run gitleaks
|
name: run gitleaks
|
||||||
description: detect hardcoded secrets
|
description: detect hardcoded secrets
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v4.6.0
|
rev: v5.0.0
|
||||||
hooks:
|
hooks:
|
||||||
#- id: check-added-large-files
|
#- id: check-added-large-files
|
||||||
- id: check-case-conflict
|
- id: check-case-conflict
|
||||||
|
|||||||
18
requirements-dev.txt
Normal file
18
requirements-dev.txt
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# Licensed to the Apache Software Foundation (ASF) under one
|
||||||
|
# or more contributor license agreements. See the NOTICE file
|
||||||
|
# distributed with this work for additional information
|
||||||
|
# regarding copyright ownership. The ASF licenses this file
|
||||||
|
# to you under the Apache License, Version 2.0 (the
|
||||||
|
# "License"); you may not use this file except in compliance
|
||||||
|
# with the License. You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing,
|
||||||
|
# software distributed under the License is distributed on an
|
||||||
|
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
# KIND, either express or implied. See the License for the
|
||||||
|
# specific language governing permissions and limitations
|
||||||
|
# under the License.
|
||||||
|
|
||||||
|
pre-commit
|
||||||
@ -17,7 +17,5 @@
|
|||||||
|
|
||||||
# Marvin dependencies are installed via its bundle
|
# Marvin dependencies are installed via its bundle
|
||||||
|
|
||||||
pre-commit
|
|
||||||
|
|
||||||
# Install the SolidFire SDK for Python
|
# Install the SolidFire SDK for Python
|
||||||
solidfire-sdk-python
|
solidfire-sdk-python
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user