qutebrowser/tests/unit
Florian Bruhin 6c4beef783 Work around flake8-string-format bug
When using flake8-string-format on Python 3.5 with str.format(*group) it
failed:

  Traceback (most recent call last):
    File "./.venv-flakes/bin/flake8", line 11, in <module>
      sys.exit(main())
    File ".../site-packages/flake8/main.py", line 33, in main
      report = flake8_style.check_files()
    File ".../site-packages/flake8/engine.py", line 181, in check_files
      return self._retry_serial(self._styleguide.check_files, paths=paths)
    File ".../site-packages/flake8/engine.py", line 172, in _retry_serial
      return func(*args, **kwargs)
    File ".../site-packages/pep8.py", line 1842, in check_files
      runner(path)
    File ".../site-packages/flake8/engine.py", line 126, in input_file
      return fchecker.check_all(expected=expected, line_offset=line_offset)
    File ".../site-packages/pep8.py", line 1574, in check_all
      self.check_ast()
    File ".../site-packages/pep8.py", line 1521, in check_ast
      for lineno, offset, text, check in checker.run():
    File ".../site-packages/flake8_string_format.py", line 288, in run
      assert isinstance(call.args, ast.Starred) is bool(has_starargs)
  AssertionError

This works around that issue.
See https://github.com/xZise/flake8-string-format/issues/11
2016-05-26 23:50:58 +02:00
..
browser Added missing All group 2016-05-17 23:57:36 -04:00
commands Simplify argparser.type_check 2016-05-18 07:16:17 +02:00
completion Clean up assertion 2016-05-08 20:01:35 +02:00
config Allow flexible whitespace in color strings. 2016-05-03 23:15:39 -04:00
javascript tests: Default to raising=True for qtbot. 2016-01-08 09:49:06 +01:00
keyinput Revert "Handle counts for special keys." 2016-04-29 14:20:11 +02:00
mainwindow Add invalid url to 'test_set_hover_url_encoded' 2016-05-18 22:23:26 +02:00
misc Work around flake8-string-format bug 2016-05-26 23:50:58 +02:00
scripts Adjust copyright years. 2016-01-04 07:12:39 +01:00
utils Implement utils.is_special_key. 2016-05-19 20:48:48 -04:00
test_app.py Fix lint 2016-05-24 21:53:50 +02:00