mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-18 00:24:47 +04:00
Use asottile/add-trailing-comma
This commit is contained in:
parent
1a07a24d13
commit
0c70fa4229
32 changed files with 74 additions and 70 deletions
|
|
@ -49,7 +49,7 @@ class Store(object):
|
|||
with io.open(os.path.join(self.directory, 'README'), 'w') as readme:
|
||||
readme.write(
|
||||
'This directory is maintained by the pre-commit project.\n'
|
||||
'Learn more: https://github.com/pre-commit/pre-commit\n'
|
||||
'Learn more: https://github.com/pre-commit/pre-commit\n',
|
||||
)
|
||||
|
||||
def _write_sqlite_db(self):
|
||||
|
|
@ -68,7 +68,7 @@ class Store(object):
|
|||
' ref CHAR(255) NOT NULL,'
|
||||
' path CHAR(255) NOT NULL,'
|
||||
' PRIMARY KEY (repo, ref)'
|
||||
');'
|
||||
');',
|
||||
)
|
||||
|
||||
# Atomic file move
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue