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

Merged
vdeniaud merged 3 commits from wip/79788-single-quotes into main 2023-08-16 11:59:27 +02:00
3 changed files with 7 additions and 1 deletions

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

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

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: 22.3.0
hooks:

View File

@ -7,7 +7,7 @@ DATABASES = {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'TEST': {
'NAME': 'combo-plugin-imio-townstreet-test-%s'
% os.environ.get("BRANCH_NAME", "").replace('/', '-')[:40],
% os.environ.get('BRANCH_NAME', '').replace('/', '-')[:40],
},
}
}