FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
pre-commit/pre_commit/commands/sample_config.py at map-manifest · pre-commit/pre-commit · GitHub
pre-commit
pre-commit
Repository navigation
Code
Issues
17
(17)
Pull requests
8
(8)
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
pre-commit
/
pre_commit
/
commands
/
sample_config.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
18 lines (16 loc) · 453 Bytes
Breadcrumbs
pre-commit
/
pre_commit
/
commands
/
sample_config.py
Copy path
File metadata and controls
18 lines (16 loc) · 453 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
from
__future__
import
annotations
SAMPLE_CONFIG
=
'''
\
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
'''
def
sample_config
()
->
int
:
print
(
SAMPLE_CONFIG
,
end
=
''
)
return
0
Back
|
FazBrowse Home
|
New Git URL