From ff2d7f9adc40af87fd24c44a61b314e814548887 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Mon, 13 Apr 2015 10:45:09 +0200 Subject: [PATCH] liteeth: pep8 (E401) --- misoclib/com/liteeth/example_designs/make.py | 7 ++++++- misoclib/com/liteeth/example_designs/test/make.py | 3 ++- .../com/liteeth/example_designs/test/test_etherbone.py | 3 ++- misoclib/com/liteeth/test/common.py | 3 ++- misoclib/com/liteeth/test/model/etherbone.py | 3 ++- misoclib/com/liteeth/test/model/mac.py | 3 ++- 6 files changed, 16 insertions(+), 6 deletions(-) diff --git a/misoclib/com/liteeth/example_designs/make.py b/misoclib/com/liteeth/example_designs/make.py index 4fdf983b..caf6a293 100644 --- a/misoclib/com/liteeth/example_designs/make.py +++ b/misoclib/com/liteeth/example_designs/make.py @@ -1,6 +1,11 @@ #!/usr/bin/env python3 -import sys, os, argparse, subprocess, struct, importlib +import sys +import os +import argparse +import subprocess +import struct +import importlib from mibuild.tools import write_to_file from migen.util.misc import autotype diff --git a/misoclib/com/liteeth/example_designs/test/make.py b/misoclib/com/liteeth/example_designs/test/make.py index 2c8bd783..f7a9ec67 100644 --- a/misoclib/com/liteeth/example_designs/test/make.py +++ b/misoclib/com/liteeth/example_designs/test/make.py @@ -1,5 +1,6 @@ #!/usr/bin/env python3 -import argparse, importlib +import argparse +import importlib def _get_args(): diff --git a/misoclib/com/liteeth/example_designs/test/test_etherbone.py b/misoclib/com/liteeth/example_designs/test/test_etherbone.py index d8eeef76..adfbf1a6 100644 --- a/misoclib/com/liteeth/example_designs/test/test_etherbone.py +++ b/misoclib/com/liteeth/example_designs/test/test_etherbone.py @@ -1,4 +1,5 @@ -import socket, time +import socket +import time from misoclib.com.liteeth.test.model.etherbone import * SRAM_BASE = 0x02000000 diff --git a/misoclib/com/liteeth/test/common.py b/misoclib/com/liteeth/test/common.py index 0b26c4b2..b1fd494b 100644 --- a/misoclib/com/liteeth/test/common.py +++ b/misoclib/com/liteeth/test/common.py @@ -1,4 +1,5 @@ -import random, copy +import random +import copy from migen.fhdl.std import * from migen.flow.actor import Sink, Source diff --git a/misoclib/com/liteeth/test/model/etherbone.py b/misoclib/com/liteeth/test/model/etherbone.py index ad8ed747..c88dee0b 100644 --- a/misoclib/com/liteeth/test/model/etherbone.py +++ b/misoclib/com/liteeth/test/model/etherbone.py @@ -1,4 +1,5 @@ -import math, copy +import math +import copy from misoclib.com.liteeth.common import * from misoclib.com.liteeth.test.common import * diff --git a/misoclib/com/liteeth/test/model/mac.py b/misoclib/com/liteeth/test/model/mac.py index 47693a73..80b39a86 100644 --- a/misoclib/com/liteeth/test/model/mac.py +++ b/misoclib/com/liteeth/test/model/mac.py @@ -1,4 +1,5 @@ -import math, binascii +import math +import binascii from misoclib.com.liteeth.common import * from misoclib.com.liteeth.test.common import * -- 2.30.2