Sfoglia il codice sorgente

Update `reorder_python_imports` version to fix Unicode problems

Signed-off-by: Ulysses Souza <[email protected]>
Ulysses Souza 6 anni fa
parent
commit
d563a66405
3 ha cambiato i file con 1 aggiunte e 3 eliminazioni
  1. 1 1
      .pre-commit-config.yaml
  2. 0 1
      compose/utils.py
  3. 0 1
      tests/acceptance/cli_test.py

+ 1 - 1
.pre-commit-config.yaml

@@ -14,7 +14,7 @@
     - id: requirements-txt-fixer
     - id: trailing-whitespace
 - repo: git://github.com/asottile/reorder_python_imports
-  sha: v0.3.5
+  sha: v1.3.4
   hooks:
     - id: reorder-python-imports
       language_version: 'python2.7'

+ 0 - 1
compose/utils.py

@@ -3,7 +3,6 @@ from __future__ import unicode_literals
 
 import codecs
 import hashlib
-import json
 import json.decoder
 import logging
 import ntpath

+ 0 - 1
tests/acceptance/cli_test.py

@@ -4,7 +4,6 @@ from __future__ import unicode_literals
 
 import datetime
 import json
-import os
 import os.path
 import re
 import signal