pyflakes .. not all, but most

This commit is contained in:
Tobias Oberstein 2015-02-12 14:41:59 +01:00
parent 597fbaee7c
commit 5887deaa2d
2 changed files with 5 additions and 14 deletions

View File

@ -10,7 +10,7 @@ autopep8:
# This will run pep8, pyflakes and can skip lines that end with # noqa
flake8:
flake8 -v --ignore=E501 autobahn
flake8 --ignore=E501,E901,F401,F403,F811,F821,F841 .
pylint:
pylint -d line-too-long,invalid-name autobahn
pylint -d line-too-long,invalid-name .

View File

@ -18,15 +18,13 @@
import sys
import io
import six
import datetime
import argparse
from twisted.python import log
from twisted.internet.defer import inlineCallbacks, Deferred, DeferredList
from twisted.internet.endpoints import serverFromString
from twisted.internet.endpoints import serverFromString, clientFromString
from autobahn.twisted.util import sleep
from autobahn.twisted import wamp, websocket
from autobahn.twisted import wamp
class CaseComponent(wamp.ApplicationSession):
@ -197,13 +195,6 @@ class Case2_Frontend(CaseComponent):
if __name__ == '__main__':
import sys
import argparse
from twisted.python import log
from twisted.internet.endpoints import serverFromString
from twisted.internet.endpoints import clientFromString
# parse command line arguments
#
parser = argparse.ArgumentParser()