mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Replace string literals with constants
This commit is contained in:
parent
a5f3cefb64
commit
8407b92b18
4 changed files with 9 additions and 8 deletions
|
|
@ -42,7 +42,7 @@ def _add_color_option(parser):
|
|||
|
||||
def _add_config_option(parser):
|
||||
parser.add_argument(
|
||||
'-c', '--config', default='.pre-commit-config.yaml',
|
||||
'-c', '--config', default=C.CONFIG_FILE,
|
||||
help='Path to alternate config file',
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue