ajouter le hook double-quote-string-fixer (#79788) #1
|
@ -0,0 +1,2 @@
|
|||
# misc: apply double-quote-string-fixer (#79788)
|
||||
00ec5e5bbe391f805801fa141bca43532b0187e3
|
|
@ -1,6 +1,10 @@
|
|||
# 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: v4.4.0
|
||||
hooks:
|
||||
- id: double-quote-string-fixer
|
||||
- repo: https://github.com/psf/black
|
||||
rev: 20.8b1
|
||||
hooks:
|
||||
|
|
|
@ -454,7 +454,7 @@ def link(issue):
|
|||
|
||||
class MyProgressPrinter(git.RemoteProgress):
|
||||
def update(self, op_code, cur_count, max_count=None, message=''):
|
||||
print(op_code, cur_count, max_count, cur_count / (max_count or 100.0), message or "NO MESSAGE")
|
||||
print(op_code, cur_count, max_count, cur_count / (max_count or 100.0), message or 'NO MESSAGE')
|
||||
|
||||
|
||||
def get_commits(repo, ref):
|
||||
|
|
6
setup.py
6
setup.py
|
@ -11,9 +11,9 @@ setup(
|
|||
description='Git porcelain to interface with Redmine',
|
||||
long_description=readme,
|
||||
py_modules=['git_redmine'],
|
||||
author="Benjamin Dauvergne",
|
||||
author_email="bdauvergne@entrouvert.com",
|
||||
url="https://dev.entrouvert.org/projects/git-redmine/",
|
||||
author='Benjamin Dauvergne',
|
||||
author_email='bdauvergne@entrouvert.com',
|
||||
url='https://dev.entrouvert.org/projects/git-redmine/',
|
||||
install_requires=[
|
||||
'Click',
|
||||
'python-redmine',
|
||||
|
|
Loading…
Reference in New Issue