Commit Graph

764 Commits

Author SHA1 Message Date
Florian Bruhin 85b867fe8d Merge remote-tracking branch 'origin/pr/7096' 2022-06-13 12:34:33 +02:00
Florian Bruhin 6c99fe7b30 pylint: Ignore new false-positives 2022-06-08 12:43:09 +02:00
Florian Bruhin 6c4e281028 pylint: Fix new unnecessary-lambda-assignment 2022-06-08 12:25:12 +02:00
Florian Bruhin 8ac522cf55 Fix lint 2022-05-20 12:39:52 +02:00
Florian Bruhin 15dc5e81f7 tests: Improve TestSanitizeFilename
Those special cases were only tested by Hypothesis before
2022-05-20 11:01:46 +02:00
Nicholas Schwab e7cf3e41bc Add more unit tests. 2022-04-08 14:00:57 +02:00
Nicholas Schwab c48719f014 Fix missing conversion to str in unit test hypothesis. 2022-04-08 14:00:39 +02:00
Nicholas42 d8af9617d9
Simplify unit test for click-element.
Co-authored-by: Florian Bruhin <me@the-compiler.org>
2022-04-08 13:54:30 +02:00
Nicholas Schwab ae61f02831 Add parse_point utility and tests for it. 2022-04-06 19:37:54 +02:00
Florian Bruhin ab7a2ee558 Switch to Python 3.7 subprocess API
Follow-up for #6905
2022-04-04 16:58:31 +02:00
Florian Bruhin da280df809 Clean up some remaining Python version references 2022-04-04 10:51:34 +02:00
Florian Bruhin 3c26abd09a Test system-data dir with flatpak 2022-03-31 15:04:09 +02:00
Florian Bruhin 151b0209e8 pylint: Enable private_import extension 2022-03-30 10:22:00 +02:00
Florian Bruhin f4714a9300 Use flake8-pytest-style 2022-01-04 10:30:24 +01:00
Florian Bruhin 26d308d95d pylint: Enable docparams checker 2021-12-03 13:36:20 +01:00
Florian Bruhin 4d13280994 pylint: Fix some legitimate issues 2021-12-03 12:04:59 +01:00
Florian Bruhin 1ca68e6280 pylint: Remove bad-continuation supressions
Removed in https://github.com/PyCQA/pylint/pull/3571 - should use black instead
2021-12-02 17:55:32 +01:00
Florian Bruhin ed2342a430 pylint: Handle consider-using-with 2021-12-02 17:30:47 +01:00
Florian Bruhin 8ee510a082 tests: Fix test_real_git with different core.abbrev
Fixes #6825
2021-11-17 09:14:20 +01:00
Florian Bruhin dafe9f6966 Fix lint 2021-11-05 15:03:22 +01:00
Florian Bruhin 5adb053e77 Fix lint 2021-11-04 21:26:17 +01:00
Florian Bruhin 81080aaffd tests: Set IDs for urlmatch tests
This works around a VS Code bug with weird node IDs:
https://github.com/microsoft/vscode-python/issues/17676
2021-11-04 09:51:20 +01:00
Florian Bruhin 1547a48e6f tests: Adjust for PyYAML 6.0 2021-10-14 09:05:25 +02:00
Florian Bruhin 2047218361 Revert "Fix enum stringification for Python 3.10 a7+"
This reverts commit e2c5fe6262.
See https://mail.python.org/archives/list/python-dev@python.org/thread/ZMC67QA2JVQJSWSFWRS6IM6ZX4EK277G/#LSTMFAPSPD3BGZ4D6HQFODXZVB3PLYKF
2021-07-12 16:03:41 +02:00
Ander Punnar 4e47af2158
Merge remote-tracking branch 'origin/master' into 4nd3r/hostblock_subdomains 2021-05-20 20:52:42 +03:00
Florian Bruhin eac6be1367 Clarify backend version string 2021-05-05 16:59:56 +02:00
Ander Punnar 55103390b7
Merge remote-tracking branch 'origin/master' into 4nd3r/hostblock_subdomains 2021-04-24 11:05:45 +03:00
Florian Bruhin febb921040 Add QUTE_QTWEBENGINE_VERSION_OVERRIDE
See https://github.com/NixOS/nixpkgs/pull/119376#issuecomment-820073044
2021-04-15 11:00:18 +02:00
Florian Bruhin 32604a6651 tests: Fix test_version with git's init.defaultBranch 2021-04-15 10:54:17 +02:00
Ander Punnar 2b752a4929
make _widened_hostnames public, move to urlutils 2021-04-09 00:19:48 +03:00
Florian Bruhin a6356b5504 Remove unused imports 2021-04-08 10:11:29 +02:00
Florian Bruhin e2c5fe6262 Fix enum stringification for Python 3.10 a7+
https://bugs.python.org/issue40066
https://mail.python.org/archives/list/python-dev@python.org/message/CHQW6THTDYNPPFWQ2KDDTUYSAJDCZFNP/
b775106d94
2021-04-08 09:51:16 +02:00
Florian Bruhin 1a383bb670 Don't parse distribution versions
We don't actually need those values anywhere, and parsing can be tricky
as there isn't a fixed format for those version numbers. Let's just not
do it at all. See #6354.
2021-04-07 13:28:24 +02:00
Florian Bruhin c3d1b71c6f Handle version numbers with >3 digits
Closes #6354
2021-04-07 13:23:12 +02:00
Florian Bruhin c7657e65cc tests: Skip test_real_chromium_version if guessing too much 2021-03-31 13:10:09 +02:00
Florian Bruhin c9e6aea1b4 tests: Make test_real_chromium_version clearer 2021-03-31 13:10:09 +02:00
Florian Bruhin 8b49d87526 flatpak: Try getting ID from /.flatpak_info 2021-03-31 13:10:09 +02:00
Florian Bruhin 3b1bbc709c flatpak: Make things work without FLATPAK_ID 2021-03-31 13:10:09 +02:00
Florian Bruhin f35e284de0 flatpak: Fix standarddir/ipc tests 2021-03-31 13:10:09 +02:00
Florian Bruhin 952402066d tests: Move flatpak patch to conftest 2021-03-31 13:10:09 +02:00
Florian Bruhin 40c72f849d flatpak: Skip download dispatcher tests 2021-03-31 13:10:09 +02:00
Florian Bruhin d850d3d13f Fix botched comment
Accidentally changed in 8a0d7a5be8
2021-03-31 13:10:09 +02:00
Florian Bruhin 8a0d7a5be8 scripts: Pass GitHub token via commandline args 2021-03-29 23:42:14 +02:00
Florian Bruhin d493bafcf5 tests: Test QtWebEngine version guessing when frozen 2021-03-29 23:42:14 +02:00
Florian Bruhin d31d63cc68 tests: Move freezer to fixtures.py 2021-03-29 23:42:14 +02:00
Florian Bruhin 75ef6194ca Fix trailing whitespace 2021-03-24 12:24:06 +01:00
Florian Bruhin 46b44b1b2d Avoid missing_ok
Added in Python 3.8, see #6291
2021-03-24 12:21:54 +01:00
Florian Bruhin 27ceb8196d Simplify paths in test_jinja, _qtutils and _version 2021-03-24 11:36:06 +01:00
Florian Bruhin 816ec60fe4 Remove changes to test_standarddir 2021-03-24 11:34:20 +01:00
Florian Bruhin 5c02882680 Merge remote-tracking branch 'origin/pr/6291' 2021-03-24 11:30:31 +01:00