From 01ba965d0c2efbb67f4ea6d2ba74e7c6d2bc09c3 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Mon, 13 Apr 2015 16:56:25 +0200 Subject: [PATCH] global: pep8 (E401) --- flash_extra.py | 4 +++- make.py | 6 +++++- misoc_import.py | 3 ++- misoclib/com/uart/phy/sim.py | 4 +++- setup.py | 3 ++- tools/flterm.py | 7 ++++++- 6 files changed, 21 insertions(+), 6 deletions(-) diff --git a/flash_extra.py b/flash_extra.py index 68b26a0d..d27a4a25 100755 --- a/flash_extra.py +++ b/flash_extra.py @@ -1,6 +1,8 @@ #!/usr/bin/env python3 -import os, sys, argparse +import os +import sys +import argparse from migen.util.misc import autotype diff --git a/make.py b/make.py index 087466ba..400f24d5 100755 --- a/make.py +++ b/make.py @@ -1,6 +1,10 @@ #!/usr/bin/env python3 -import sys, os, argparse, subprocess, struct +import sys +import os +import argparse +import subprocess +import struct from mibuild.tools import write_to_file from migen.util.misc import autotype diff --git a/misoc_import.py b/misoc_import.py index 5407a27b..b1723b8b 100644 --- a/misoc_import.py +++ b/misoc_import.py @@ -1,4 +1,5 @@ -import sys, importlib +import sys +import importlib def misoc_import(default, external, name): diff --git a/misoclib/com/uart/phy/sim.py b/misoclib/com/uart/phy/sim.py index a12bd086..0c863734 100644 --- a/misoclib/com/uart/phy/sim.py +++ b/misoclib/com/uart/phy/sim.py @@ -1,4 +1,6 @@ -import os, pty, time +import os +import pty +import time from migen.fhdl.std import * from migen.flow.actor import Sink, Source diff --git a/setup.py b/setup.py index fa49e6c7..41af6c81 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,7 @@ #!/usr/bin/env python3 -import sys, os +import sys +import os from setuptools import setup from setuptools import find_packages diff --git a/tools/flterm.py b/tools/flterm.py index c8dd9e23..7522ab61 100644 --- a/tools/flterm.py +++ b/tools/flterm.py @@ -1,5 +1,10 @@ #!/usr/bin/env python3 -import sys, os, time, serial, threading, argparse +import sys +import os +import time +import serial +import threading +import argparse from serial.tools.miniterm import console, character, LF sfl_magic_len = 14 -- 2.30.2