Commit 562683c9 authored by Laurent Peuch's avatar Laurent Peuch
Browse files

chore(format-source): autoflake the code

parent 4e13d30641b0
......@@ -158,3 +158,83 @@
{"pattern": "test/test_ureports_text.py", "tool": "autopep8"}
{"pattern": "test/test_xmlutils.py", "tool": "autopep8"}
{"pattern": "test/utils.py", "tool": "autopep8"}
{"pattern": "logilab/common/cache.py", "tool": "autoflake"}
{"pattern": "logilab/common/changelog.py", "tool": "autoflake"}
{"pattern": "logilab/common/clcommands.py", "tool": "autoflake"}
{"pattern": "logilab/common/compat.py", "tool": "autoflake"}
{"pattern": "logilab/common/configuration.py", "tool": "autoflake"}
{"pattern": "logilab/common/daemon.py", "tool": "autoflake"}
{"pattern": "logilab/common/date.py", "tool": "autoflake"}
{"pattern": "logilab/common/debugger.py", "tool": "autoflake"}
{"pattern": "logilab/common/decorators.py", "tool": "autoflake"}
{"pattern": "logilab/common/deprecation.py", "tool": "autoflake"}
{"pattern": "logilab/common/fileutils.py", "tool": "autoflake"}
{"pattern": "logilab/common/graph.py", "tool": "autoflake"}
{"pattern": "logilab/common/interface.py", "tool": "autoflake"}
{"pattern": "logilab/common/logging_ext.py", "tool": "autoflake"}
{"pattern": "logilab/common/modutils.py", "tool": "autoflake"}
{"pattern": "logilab/common/optik_ext.py", "tool": "autoflake"}
{"pattern": "logilab/common/optparser.py", "tool": "autoflake"}
{"pattern": "logilab/common/proc.py", "tool": "autoflake"}
{"pattern": "logilab/common/pytest.py", "tool": "autoflake"}
{"pattern": "logilab/common/registry.py", "tool": "autoflake"}
{"pattern": "logilab/common/shellutils.py", "tool": "autoflake"}
{"pattern": "logilab/common/sphinx_ext.py", "tool": "autoflake"}
{"pattern": "logilab/common/sphinxutils.py", "tool": "autoflake"}
{"pattern": "logilab/common/table.py", "tool": "autoflake"}
{"pattern": "logilab/common/tasksqueue.py", "tool": "autoflake"}
{"pattern": "logilab/common/testlib.py", "tool": "autoflake"}
{"pattern": "logilab/common/textutils.py", "tool": "autoflake"}
{"pattern": "logilab/common/tree.py", "tool": "autoflake"}
{"pattern": "logilab/common/types.py", "tool": "autoflake"}
{"pattern": "logilab/common/umessage.py", "tool": "autoflake"}
{"pattern": "logilab/common/ureports/__init__.py", "tool": "autoflake"}
{"pattern": "logilab/common/ureports/docbook_writer.py", "tool": "autoflake"}
{"pattern": "logilab/common/ureports/html_writer.py", "tool": "autoflake"}
{"pattern": "logilab/common/ureports/nodes.py", "tool": "autoflake"}
{"pattern": "logilab/common/ureports/text_writer.py", "tool": "autoflake"}
{"pattern": "logilab/common/urllib2ext.py", "tool": "autoflake"}
{"pattern": "logilab/common/vcgutils.py", "tool": "autoflake"}
{"pattern": "logilab/common/visitor.py", "tool": "autoflake"}
{"pattern": "logilab/common/xmlutils.py", "tool": "autoflake"}
{"pattern": "setup.py", "tool": "autoflake"}
{"pattern": "test/data/__pkginfo__.py", "tool": "autoflake"}
{"pattern": "test/data/deprecation.py", "tool": "autoflake"}
{"pattern": "test/data/find_test/__init__.py", "tool": "autoflake"}
{"pattern": "test/data/find_test/module.py", "tool": "autoflake"}
{"pattern": "test/data/find_test/module2.py", "tool": "autoflake"}
{"pattern": "test/data/find_test/noendingnewline.py", "tool": "autoflake"}
{"pattern": "test/data/find_test/nonregr.py", "tool": "autoflake"}
{"pattern": "test/data/find_test/sub/momo.py", "tool": "autoflake"}
{"pattern": "test/data/lmfp/__init__.py", "tool": "autoflake"}
{"pattern": "test/data/lmfp/foo.py", "tool": "autoflake"}
{"pattern": "test/data/module.py", "tool": "autoflake"}
{"pattern": "test/data/module2.py", "tool": "autoflake"}
{"pattern": "test/data/noendingnewline.py", "tool": "autoflake"}
{"pattern": "test/data/nonregr.py", "tool": "autoflake"}
{"pattern": "test/data/regobjects.py", "tool": "autoflake"}
{"pattern": "test/data/regobjects2.py", "tool": "autoflake"}
{"pattern": "test/data/sub/momo.py", "tool": "autoflake"}
{"pattern": "test/test_cache.py", "tool": "autoflake"}
{"pattern": "test/test_changelog.py", "tool": "autoflake"}
{"pattern": "test/test_configuration.py", "tool": "autoflake"}
{"pattern": "test/test_date.py", "tool": "autoflake"}
{"pattern": "test/test_decorators.py", "tool": "autoflake"}
{"pattern": "test/test_deprecation.py", "tool": "autoflake"}
{"pattern": "test/test_fileutils.py", "tool": "autoflake"}
{"pattern": "test/test_graph.py", "tool": "autoflake"}
{"pattern": "test/test_interface.py", "tool": "autoflake"}
{"pattern": "test/test_modutils.py", "tool": "autoflake"}
{"pattern": "test/test_pytest.py", "tool": "autoflake"}
{"pattern": "test/test_registry.py", "tool": "autoflake"}
{"pattern": "test/test_shellutils.py", "tool": "autoflake"}
{"pattern": "test/test_table.py", "tool": "autoflake"}
{"pattern": "test/test_taskqueue.py", "tool": "autoflake"}
{"pattern": "test/test_testlib.py", "tool": "autoflake"}
{"pattern": "test/test_textutils.py", "tool": "autoflake"}
{"pattern": "test/test_tree.py", "tool": "autoflake"}
{"pattern": "test/test_umessage.py", "tool": "autoflake"}
{"pattern": "test/test_ureports_html.py", "tool": "autoflake"}
{"pattern": "test/test_ureports_text.py", "tool": "autoflake"}
{"pattern": "test/test_xmlutils.py", "tool": "autoflake"}
{"pattern": "test/utils.py", "tool": "autoflake"}
......@@ -17,7 +17,6 @@
# with logilab-common. If not, see <http://www.gnu.org/licenses/>.
"""unit tests for the decorators module
"""
import sys
import types
from logilab.common.testlib import TestCase, unittest_main
......
......@@ -18,7 +18,6 @@
"""unit tests for logilab.common.fileutils"""
import doctest
import io
import sys
import os
import tempfile
......
......@@ -28,7 +28,7 @@ DATA = join(dirname(abspath(__file__)), "data")
class UMessageTC(TestCase):
def setUp(self):
if sys.version_info >= (3, 2):
import io
pass
msg1 = email.message_from_file(open(join(DATA, "test1.msg"), encoding="utf8"))
msg2 = email.message_from_file(open(join(DATA, "test2.msg"), encoding="utf8"))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment