Skip to content
This repository has been archived by the owner on Dec 17, 2021. It is now read-only.

Commit

Permalink
chore: pre-commit
Browse files Browse the repository at this point in the history
I have also added myself as a CODEOWNER for .pre-commit-config.yaml
  • Loading branch information
artemrys authored and Artem Rys committed Aug 24, 2021
1 parent 75bdb13 commit 9a24536
Show file tree
Hide file tree
Showing 4 changed files with 174 additions and 11 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
* @rfaircloth-splunk
package/etc/ @rfaircloth @mbonsack @nandinivij
.pre-commit-config.yaml @arys-splunk
25 changes: 25 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@

#
# Copyright 2021 Splunk Inc.
#
# Licensed 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.
#
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
hooks:
- id: check-merge-conflict
- repo: https://github.com/psf/black
rev: 21.7b0
hooks:
- id: black
Loading

0 comments on commit 9a24536

Please sign in to comment.