Anders Kaseorg

Results 388 comments of Anders Kaseorg

This should be fixed to ```ts const fetchFoo = (signal: AbortSignal): Promise => { … }; export default fetchFoo; ```

use-contextlib-suppress (SIM105) is intentionally much weaker than try-except-pass (S110), and it’s not unreasonable to enable the former without the latter. See #1948.

That doesn’t solve the issue. There are 16 distinct keys in that new keyring file, 5 of which are expired, so presumably it’s changing quite frequently. Based on the Wayback...

This problem could be solved by making `Policy` a generic type. ```python MessageT = TypeVar("MessageT") class Policy(Generic[MessageT]): ... class Message: ... class Compat32(Policy[Message]): ... compat32 = Compat32() class EmailMessage: ......

These AppArmor denials are from before the app opened a window. Since the window did open, these messages are likely unrelated to your crash. Can you check for messages corresponding...

PEP 8 [says](https://peps.python.org/pep-0008/#programming-recommendations): > Class naming conventions apply here, although you should add the suffix “Error” to your exception classes if the exception is an error. Non-error exceptions that are...

I have been trying to reproduce your problem but I’ve had no luck so far. Maybe try deleting the `~/.config/Zulip/GPUCache` folder? Are you running Zulip with the `--ozone-platform-hint=auto` flag (which...

No that upstream repository is fine and unrelated to this bug. - #31486

Presumably caused by - tree-sitter/tree-sitter-typescript#299