style: format python files with isort and double-quote-string-fixer

This commit is contained in:
Fu Hanxi
2021-01-26 10:49:01 +08:00
parent dc8402ea61
commit 0146f258d7
276 changed files with 8241 additions and 8162 deletions

View File

@@ -17,8 +17,8 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import print_function, division
from __future__ import unicode_literals
from __future__ import division, print_function, unicode_literals
import argparse
import sys
@@ -28,7 +28,7 @@ quiet = False
def generate_blanked_file(size, output_path):
output = b"\xFF" * size
output = b'\xFF' * size
try:
stdout_binary = sys.stdout.buffer # Python 3
except AttributeError: