Commit Graph

177 Commits

Author SHA1 Message Date
Lembrun 3d01c201b8 Added test_resources.py 2021-03-09 21:33:39 +01:00
Florian Bruhin 90af513c97 Fix coverage 2021-01-30 16:42:42 +01:00
Florian Bruhin 1a4fff1a42 doc: Switch URLs to https 2021-01-26 15:19:01 +01:00
Florian Bruhin 222f1f19a1 Bump copyright years
Closes #6015
2021-01-20 20:06:19 +01:00
Florian Bruhin 6fd2077b6c Improve tests for filesystem completion 2021-01-20 10:30:25 +01:00
Florian Bruhin a3c0a8759a rfc6266: Consolidate files 2021-01-17 17:02:07 +01:00
Florian Bruhin 14373db9c7 dataclasses: Adjust import order
See #6023
2021-01-13 20:26:57 +01:00
Florian Bruhin c970c63355 dataclasses: Initial switch
See #6023
2021-01-13 20:26:41 +01:00
Florian Bruhin 0d5e10a38f Adjust check_coverage.py whitelist 2020-12-19 23:33:38 +01:00
Florian Bruhin cad3394e9b Use existing ON_CI constants 2020-12-04 19:04:52 +01:00
Florian Bruhin 5aebc55415 old qt: Adjust various comments/outputs 2020-11-04 18:30:04 +01:00
Florian Bruhin bff1b2a7d0 old qt: Remove various conditional API handling 2020-11-04 18:30:04 +01:00
Florian Bruhin 46302e488f Use enum.auto() for most enum values
Doesn't change values where they are chosen to line up with Qt enums.

See #4800
2020-10-26 15:50:54 +01:00
Florian Bruhin c473a5063f Fix lint 2020-10-19 15:04:14 +02:00
Florian Bruhin 8759d4720a Add/improve docs for enums 2020-10-16 15:57:51 +02:00
Yegor b2dd22c5e9 Use class-based API instead of functions for enums 2020-10-09 20:04:49 +03:00
Florian Bruhin 6f09c18ecd Run coverage over tests/scripts
Rationale: https://nedbatchelder.com/blog/202008/you_should_include_your_tests_in_coverage.html
Switched from "source" to "include" as a workaround for
https://github.com/nedbat/coveragepy/issues/578 - also see:
https://github.com/LibraryOfCongress/concordia/pull/857/files
2020-08-11 19:43:05 +02:00
Florian Bruhin ecac1503cd ci: Show GitHub Actions markers in check_coverage 2020-07-20 16:49:32 +02:00
Florian Bruhin de4a1c1a28 config: Split Qt argument/envvar handling to a separate file
Preparation for some changes for #5421
2020-07-10 11:18:00 +02:00
Florian Bruhin f41c745ee6 Add more tests for cookie handling 2020-05-07 11:26:49 +02:00
Florian Bruhin 9e4276db9b Adjust copyrights for 2020 2020-01-04 18:21:17 +01:00
Florian Bruhin 81212af32c Add config.stylesheet to check_coverage 2019-12-26 23:06:35 +01:00
Florian Bruhin 17cb3b0da4 Fix lint/tests 2019-11-25 23:48:39 +01:00
Florian Bruhin 854e6689bf Merge remote-tracking branch 'origin/pr/4498' into scroll-performance 2019-09-13 14:01:56 +02:00
Florian Bruhin b9c13ede5b Add qtutils to check_coverage 2019-09-02 22:32:31 +02:00
Florian Bruhin 6e0c17b510 Fix some typos 2019-08-01 18:24:47 +02:00
Jay Kamat b8877f0c6a
Merge branch 'master' of https://github.com/qutebrowser/qutebrowser into jay/scroll-perf 2019-06-24 22:51:49 -07:00
user202729 564a69e507 Register debug-cache-stats with a decorator 2019-06-04 15:58:07 +07:00
Florian Bruhin 33463325f4 Eschew the extraneous elses
https://www.youtube.com/watch?v=JVVMMULwR4s&t=289
2019-03-13 13:53:09 +01:00
Jay Kamat ff6c7288b2
Merge branch 'master' of https://github.com/qutebrowser/qutebrowser into jay/scroll-perf 2019-03-01 17:18:16 -08:00
Jay Kamat 3e816f5f8b
Update copyright for 2019 2019-02-22 21:45:08 -08:00
Jay Kamat 5ca94921d2
Update perfect_files 2019-01-01 01:04:02 -08:00
Florian Bruhin 4a1333795f Add api/interceptor.py to check_coverage 2018-12-10 19:52:20 +01:00
Florian Bruhin b0ae4deac8 ADjust check_coverage for api/ 2018-12-03 08:49:10 +01:00
Florian Bruhin c1b9318e77 check_coverage: Add test_objects.py 2018-11-29 19:04:14 +01:00
Florian Bruhin b7de287e7b Move CommandError to api.cmdutils 2018-11-29 14:18:11 +01:00
Florian Bruhin 8cfa46f539 100% test coverage for browser.pdfjs 2018-09-09 18:35:09 +02:00
Jay Kamat d4cf5045ab
Fix tests for configcache 2018-09-02 18:03:36 -07:00
Florian Bruhin 155a1901c0 Merge branch 'keys' 2018-03-04 22:50:41 +01:00
Florian Bruhin 2be7db29ed 100% coverage for keyinput.keyutils 2018-03-04 20:21:58 +01:00
Florian Bruhin 5eb340d481 Add missing tests for completions 2018-02-27 15:55:00 +01:00
Florian Bruhin 316b4b5340 Add new files to PERFECT_FILES 2018-02-20 12:30:34 +01:00
Florian Bruhin 3170e35b31 Simplify QtWebKit scheme handlers 2018-02-11 17:14:41 +01:00
Florian Bruhin 6f028e9ad0 Update copyright years 2018-02-05 12:19:50 +01:00
Florian Bruhin 430126dcc8 pylint: Re-enable ungrouped-imports 2017-12-15 23:08:53 +01:00
Florian Bruhin e65c0dd8a7 pylint: Re-enable bad-continuation
And lots and lots of whitespace changes.
2017-12-15 19:16:55 +01:00
Gyorgy Orban bb54a954fe use subprocess run
The usage of subprocess.run is recommended since python 3.5.
Popen, check_call, call and check_output calls were replaced with run.
2017-11-01 09:59:32 +01:00
Michał Siedlaczek e20ad95666 Merge branch 'master' into spell 2017-10-04 09:47:42 -04:00
Michal Siedlaczek 6a486058c5 Review fixes 2017-10-04 09:22:35 -04:00
Florian Bruhin a8fc561707 Split config commands off to their own file. 2017-10-02 07:08:30 +02:00