Florian Bruhin
b3515f5e82
pylint: Remove import-error disabling from tests.
2015-12-01 22:47:10 +01:00
Florian Bruhin
5817b47f75
Revert "Use fully qualified imports in tests."
...
Seems like this also breaks frozen tests...
This reverts commit c7fdcc92b8
.
2015-12-01 22:45:59 +01:00
Florian Bruhin
109984c96e
pylint: Check attr-defined-outside-init for tests.
2015-12-01 22:41:16 +01:00
Florian Bruhin
803398c49b
Use some more fixtures for older tests.
2015-12-01 22:40:58 +01:00
Florian Bruhin
ad72b26b1a
Add comment why abstract-method is ignored.
2015-12-01 22:16:23 +01:00
Florian Bruhin
c7fdcc92b8
Use fully qualified imports in tests.
...
This is cleaner even if pylint can't handle it.
2015-12-01 22:03:59 +01:00
Florian Bruhin
788a096150
pylint: Ignore import-error globally for tests.
2015-12-01 22:03:59 +01:00
Florian Bruhin
150a83d8f4
pylint: Remove unneeded supressions.
2015-12-01 22:03:58 +01:00
Florian Bruhin
a156d51844
Don't use for-else when returning.
2015-12-01 21:56:38 +01:00
Florian Bruhin
31265b80b6
pylint: Add WORKAROUND to some comments.
2015-12-01 21:56:38 +01:00
Florian Bruhin
b59951cc98
tox: Add {posargs} for pylint.
2015-12-01 20:05:19 +01:00
Artur Shaik
c9d47ae92a
More win32
workarounds
2015-12-01 16:53:07 +06:00
Artur Shaik
25545617a0
Try workaround for win32
platform.
2015-12-01 16:19:13 +06:00
Artur Shaik
3a5ce22eac
Remove unnecessary actions in block jumps.
2015-12-01 13:17:28 +06:00
Florian Bruhin
d53c4f2702
tests: Increase test_late_message timeout.
...
This was failing on Travis on OS X, and waiting 1s for process start and 0.5s
sleep seems a bit tight.
2015-12-01 08:10:44 +01:00
Florian Bruhin
81f522336f
Do PYTHONPATH shenanigans in run_pylint_on_tests.
...
If we do it in tox.ini, there are two drawbacks:
- We have more stuff in PYTHONPATH even if we don't when actually using
qutebrowser.
- The separator is platform specific, so we can't easily do this in a portable
way in tox.ini.
2015-12-01 08:07:42 +01:00
Florian Bruhin
8be04e4f6c
pylint: Disable non-callable in SslError.
...
This wasn't hashable (and thus __hash__ wasn't callable) with Qt < 5.4.
2015-12-01 07:50:08 +01:00
Florian Bruhin
9cce8fe825
Adjust vulture whitelist for pylint changes.
2015-12-01 07:48:33 +01:00
Florian Bruhin
7e8f16dd22
pylint: Disable deprecated-method in test_conftest.
2015-12-01 07:16:53 +01:00
Florian Bruhin
6f9b02741a
Switch from map() to list comprehensions.
2015-12-01 07:16:32 +01:00
Florian Bruhin
251e657bd1
pylint: Disable some messages again.
...
See https://bitbucket.org/logilab/pylint/issues/713/
This partially reverts a42d99a8b7
.
2015-12-01 07:10:39 +01:00
Florian Bruhin
009e29789a
tox: Add {toxinidir} to PYTHONPATH for pylint.
...
Seems like it doesn't like to import qutebrowser from the tests anymore
otherwise...
2015-12-01 07:10:39 +01:00
Florian Bruhin
101f81844c
pylint: Adjust custom checkers for astroid 1.4.
...
Otherwise we'd run into https://bitbucket.org/logilab/pylint/issues/711
2015-12-01 07:10:39 +01:00
Florian Bruhin
a42d99a8b7
pylint: Get rid of some customizations in pylintrc
2015-11-30 21:08:17 +01:00
Florian Bruhin
9755a9b00f
pylint: Improve ignored-classes list.
2015-11-30 21:08:17 +01:00
Florian Bruhin
5b5003d599
pylint: Use qualified names for ignored-classes.
2015-11-30 21:08:17 +01:00
Florian Bruhin
99258dac46
pylint: Remove defining-attr-methods from pylintrc.
2015-11-30 21:08:17 +01:00
Florian Bruhin
5dc891f207
pylint: Move expected-line-ending-format to config.
2015-11-30 21:08:17 +01:00
Florian Bruhin
41b9fd7853
tox: Remove --rcfile for pylint.
...
We don't need this anymore as pylint now reads .pylintrc automatically.
2015-11-30 21:08:17 +01:00
Artur Shaik
d00f999dcf
move_to_end_of_prev_block
without unnecessary command.
2015-11-30 22:27:24 +06:00
Florian Bruhin
455e5f6523
Merge branch 'flv0-log-javascript-console'
2015-11-30 08:08:58 +01:00
Florian Bruhin
6ad1d37eb5
Regenerate docs.
2015-11-30 08:08:52 +01:00
Florian Bruhin
5f13fd2ece
Merge branch 'log-javascript-console' of https://github.com/flv0/qutebrowser into flv0-log-javascript-console
2015-11-30 08:08:31 +01:00
Florian Bruhin
7d9ef320d2
Merge branch 'flv0-conf-remove-special'
2015-11-30 07:42:56 +01:00
Florian Bruhin
f93785a0be
Merge branch 'conf-remove-special' of https://github.com/flv0/qutebrowser into flv0-conf-remove-special
2015-11-30 07:42:04 +01:00
Florian Bruhin
a987c08b69
tox: Set basepython = python3 for pylint.
2015-11-30 07:38:49 +01:00
Florian Bruhin
2f955470db
travis: Add buildtimetrend.
2015-11-30 07:37:04 +01:00
Florian Bruhin
48252258dd
Disable some new pylint checks.
2015-11-30 07:16:24 +01:00
Florian Bruhin
6e392f0f09
Add workarounds for pylint/astroid update.
2015-11-30 07:16:12 +01:00
Florian Bruhin
0004bebc09
tox: Update astroid/pylint to 1.4.1/1.5.0.
...
This means logilab-common isn't needed anymore and it runs with python 3.5 now.
2015-11-30 07:15:40 +01:00
Florian Bruhin
a9de97968d
Make pylint shut up about ua_fetch.py.
2015-11-30 07:12:18 +01:00
Florian Bruhin
f7a13fa1f9
Rename LineParserWrapper to LineParserMixin.
...
This makes pylint shut up as it realizes it is, in fact, a mixin.
2015-11-30 07:11:35 +01:00
Florian Bruhin
2ba55a0e77
Split generate_settings in src2asciidoc.
2015-11-30 07:11:03 +01:00
Florian Bruhin
27d0c004e2
Don't reuse variable in compact_text.
2015-11-30 07:10:39 +01:00
Florian Bruhin
288bf1524e
Fix some unidiomatic comparisons.
2015-11-30 07:10:21 +01:00
Florian Bruhin
e227712e21
Don't reuse DocstringParser attribute.
2015-11-30 07:09:40 +01:00
Florian Bruhin
7e6be517e3
Simplify indicator_width code.
2015-11-30 07:09:02 +01:00
Florian Bruhin
307fe6b109
Avoid shadowing 'model'.
2015-11-30 07:03:49 +01:00
Florian Bruhin
a4f47150b4
Simplify unneeded if.
2015-11-30 07:00:51 +01:00
Florian Bruhin
a008b488b1
tox: Set ignore_errors for some environments.
...
We want to run pylint on tests as well if the first pylint invocation failed.
2015-11-30 07:00:20 +01:00