ajouter le hook double-quote-string-fixer (#79788) #2
|
@ -2,3 +2,5 @@
|
|||
faa1f97b000c9e259edbf45bed4b362fcb7fad8f
|
||||
# general: apply isort & pyupgrade
|
||||
505cf434a05472e23beb8eda340d6e5c8e27c08b
|
||||
# misc: apply double-quote-string-fixer (#79788)
|
||||
cf608122ea9e94354d160932637e55c1b0137946
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -14,4 +14,4 @@
|
|||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
__version__ = "0.1"
|
||||
__version__ = '0.1'
|
||||
|
|
|
@ -46,4 +46,4 @@ class EnsureJsonbType(Operation):
|
|||
pass
|
||||
|
||||
def describe(self):
|
||||
return "Migrate to postgres jsonb type"
|
||||
return 'Migrate to postgres jsonb type'
|
||||
|
|
|
@ -27,6 +27,6 @@ import os
|
|||
|
||||
from django.core.wsgi import get_wsgi_application
|
||||
|
||||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "fargo.settings")
|
||||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'fargo.settings')
|
||||
|
||||
application = get_wsgi_application()
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
import os
|
||||
import sys
|
||||
|
||||
if __name__ == "__main__":
|
||||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "fargo.settings")
|
||||
if __name__ == '__main__':
|
||||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'fargo.settings')
|
||||
|
||||
from django.core.management import execute_from_command_line
|
||||
|
||||
|
|
Loading…
Reference in New Issue