FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
pre-commit/pre_commit/constants.py at wip_progress_dots · 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
/
constants.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
31 lines (23 loc) · 844 Bytes
Breadcrumbs
pre-commit
/
pre_commit
/
constants.py
Copy path
File metadata and controls
31 lines (23 loc) · 844 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
19
20
21
22
23
24
25
26
27
28
29
30
31
from
__future__
import
absolute_import
from
__future__
import
unicode_literals
import
sys
if
sys
.
version_info
<
(
3
,
8
):
# pragma: no cover (<PY38)
import
importlib_metadata
else
:
# pragma: no cover (PY38+)
import
importlib
.
metadata
as
importlib_metadata
CONFIG_FILE
=
'.pre-commit-config.yaml'
MANIFEST_FILE
=
'.pre-commit-hooks.yaml'
YAML_DUMP_KWARGS
=
{
'default_flow_style'
:
False
,
# Use unicode
'encoding'
:
None
,
'indent'
:
4
,
}
# Bump when installation changes in a backwards / forwards incompatible way
INSTALLED_STATE_VERSION
=
'1'
# Bump when modifying `empty_template`
LOCAL_REPO_VERSION
=
'1'
VERSION
=
importlib_metadata
.
version
(
'pre_commit'
)
# `manual` is not invoked by any installed git hook. See #719
STAGES
=
(
'commit'
,
'prepare-commit-msg'
,
'commit-msg'
,
'manual'
,
'push'
)
DEFAULT
=
'default'
Back
|
FazBrowse Home
|
New Git URL