ajouter le hook double-quote-string-fixer (#79788) #1

Merged
vdeniaud merged 3 commits from wip/79788-single-quotes into master 2023-08-16 12:01:41 +02:00
4 changed files with 10 additions and 4 deletions

2
.git-blame-ignore-revs Normal file
View File

@ -0,0 +1,2 @@
# misc: apply double-quote-string-fixer (#79788)
00ec5e5bbe391f805801fa141bca43532b0187e3

View File

@ -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:

View File

@ -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):

View File

@ -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',