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:55:54 +02:00
3 changed files with 8 additions and 2 deletions

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

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

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

@ -11,8 +11,8 @@ def main():
except ImportError as exc:
raise ImportError(
"Couldn't import Django. Are you sure it's installed and "
"available on your PYTHONPATH environment variable? Did you "
"forget to activate a virtual environment?"
'available on your PYTHONPATH environment variable? Did you '
'forget to activate a virtual environment?'
) from exc
execute_from_command_line(sys.argv)