Florian Bruhin

Results 379 issues of Florian Bruhin

Someone in my pytest training accidentally did: ```python import pytest @pytest.mark.usefixtures() def test_fixt(): pass ``` but forgot to pass a fixture name. Because we do: https://github.com/pytest-dev/pytest/blob/0070151c630b30e38381f1a3a00e263de4665e26/src/_pytest/fixtures.py#L1536-L1539 That results in the...

good first issue
topic: fixtures

Qt 6.8 Beta 1 [was released]. Doing the usual dance to get wheels: ``` mkdir wheels-68 cd wheels-68 python3 -m venv .venv .venv/bin/pip install pyqt-builder .venv/bin/pip download --no-deps PyQt6 PyQt6-WebEngine...

After #6905, we can modernize our type annotations in various ways by doing the following: - Use `from __future__ import annotations` ([PEP 563](https://peps.python.org/pep-0563/), [mypy docs](https://mypy.readthedocs.io/en/stable/runtime_troubles.html#future-annotations-import-pep-563)) - initial support for our...

component: style / refactoring

Running into various issues when trying to run the testsuite against Python 3.13 Beta 1. See comments below.

- For now, building an `universal2` release (with both architectures in one release) seems to be problematic for two reasons: - While (from what it looks like?) PyInstaller can in...

component: infrastructure
priority: 2 - low
os: macOS

Unfinished change: ```diff commit ef0517da69ea53029fc1320cacf4598fe9ffda35 Author: Florian Bruhin Date: Mon May 6 18:29:09 2024 +0200 Use a separate IPCConnection class diff --git a/.mypy.ini b/.mypy.ini index 81f69a09e..eef89ae20 100644 --- a/.mypy.ini +++...

component: style / refactoring
component: ipc
priority: 2 - low

TIL: It's possible to use `typing.NoReturn` to write an `assert_never` which will be understood by type checkers: https://mypy.readthedocs.io/en/stable/literal_types.html#exhaustiveness-checking We use `raise utils.Unreachable` in lots of places - this seems like...

component: infrastructure
priority: 2 - low

There should be some way to hide the statusbar/tabbar with `:fullscreen` (say, `:fullscreen --full` :laughing:). While setting `statusbar.hide` and `tabs.hide` kinda works, its not per-window. See https://www.reddit.com/r/qutebrowser/comments/i4dksh/two_missing_features_maybe/

priority: 2 - low

A trivial example such as: ```python import os.path import urllib.request import vcr assert not os.path.exists("doesnotexist.yml") with vcr.use_cassette("doesnotexist.yml", record_mode="none"): urllib.request.urlopen('http://www.iana.org/domains/reserved') ``` results in: ```pytb Traceback (most recent call last): [...] File...

When accidentally logging something that was wrong, there should be a `cloclify --delete` or somesuch, that deletes the last entry (I often need to go to the web interface for...