ajouter le hook double-quote-string-fixer (#79788) #3
|
@ -0,0 +1,2 @@
|
|||
# misc: apply double-quote-string-fixer (#79788)
|
||||
d8c76f8ce09609765a90493e14ed58407c5f099c
|
|
@ -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/asottile/pyupgrade
|
||||
rev: v3.1.0
|
||||
hooks:
|
||||
|
|
|
@ -112,7 +112,7 @@ class ResourceView(DetailView):
|
|||
departement_numbers = extras.get('seisin_by_email_departement_numbers', False)
|
||||
if departement_numbers:
|
||||
# without duplicates
|
||||
departement_numbers = list(dict.fromkeys(departement_numbers.split(",")))
|
||||
departement_numbers = list(dict.fromkeys(departement_numbers.split(',')))
|
||||
target_entity = extras.get('seisin_by_email_target_entity', -1)
|
||||
theme = extras.get('seisin_by_email_theme', '')
|
||||
userType = extras.get('seisin_by_email_userType', '')
|
||||
|
|
|
@ -10,7 +10,7 @@ DATABASES = {
|
|||
'default': {
|
||||
'ENGINE': 'django.db.backends.postgresql_psycopg2',
|
||||
'TEST': {
|
||||
'NAME': 'passerelle-minint-test-%s' % os.environ.get("BRANCH_NAME", "").replace('/', '-')[:63],
|
||||
'NAME': 'passerelle-minint-test-%s' % os.environ.get('BRANCH_NAME', '').replace('/', '-')[:63],
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue