DetachHead
DetachHead
> A minor note is that the strikethrough is (also) displayed by PyCharm's ([YouTrack issue](https://youtrack.jetbrains.com/issue/PY-61651)) that only works with the `deprecated` decorator as far as i'm aware, which is why...
can you provide some more info please: - what version of pytest-robotframework are you using - what version of pytest - any other pytest plugins you have installed - what...
looks like it's the flaky plugin
i haven't tested it extensively but [this plugin](https://pypi.org/project/pytest-retry/) seems to work, so as a workaround you could maybe use that one instead
imo it's far more likely that it's a mistake most of the time. when tools silently ignore things like this it allows mistakes to go undetected potentially causing even bigger...
looks like i only fixed it when accessing the match subject variable rather than the variable defined on the individual `case` statement. Code sample in [basedpyright playground](https://basedpyright.com/?pyrightVersion=1.28.5&typeCheckingMode=all&code=GYJw9gtgBAJghgFzgYwDZwM4YKYagSwgAcwQFZEV0sAoUSKBATyPwDsBzA408zHMgH022AG7YQNGgAF4SNPxoKsUAGJgwALhpRdUIgEZNUDAkky5VRcrwAhOCG179AJmPsEU5kWxqNAeRB7ECgAXj8wKAAfKGCpGGxgWDBBDEhsBAALdg4ACmBjdTBA4IBKJz0IRGRMqAKdZz1kTF8i3PKGxsaiEA9cgCIi-tLOxuacWId2iq7nHr7%2B4OHR53HfQWMAYig2SIlwSVnG-gkEYTEJfJHnKoQaupmxlojpldn5tgQBoevZtcmQK8jnNep8Bktfl1-oIoJgoABXNggbAoTJwABGqGwWyg%2B1Iby6JyEInEgMRyNRGKxkKgt3u9SO-zaHWBeg%2BX0GGmWjOewSBrP0oI5EIJUH%2B5JRNSp2Kg2zxhwFRLOJMuEspmOwpSAA) ```python from dataclasses...
a workaround is to move the `case _` and use `assert_type` instead: Code sample in [basedpyright playground](https://basedpyright.com/?pyrightVersion=1.28.5&typeCheckingMode=all&reportUnusedCallResult=false&code=GYJw9gtgBAJghgFzgYwDZwM4YKYagSwgAcwQFZEV0sAoUSKBATyPwDsBzA408zHMgH1mRbDRoABeEjT8asrFABiYMAC4aULVCIBGNVAwIQ4qZQUZ51PACE4IDdp0AmA%2BwTiR2ZaoDyIOxAoAF4fMCgAHyhA8RhsYFgwQQxIbAQAC3YOAApgAxUwf0CASkdtCERkdKg8zSdtZExvAuzSuvr6ohB3bIAiAt7i9vrGnChBMo6nfmwhL1yAGmj7IanO7rYEPsDBoA) ```python from dataclasses import dataclass from typing import assert_type @dataclass class Foo: p1:...
sorry i shouldve updated the issue. pyprojectx is not required to reproduce the issue, i included those steps just in case but a colleague was able to reproduce the issue...
hmm this is very odd, i can't seem to reproduce the issue anymore. i'll just close this issue for now and i will investigate further and reopen it once i...
nevermind it does still happen with those steps, i just forgot to restart vscode so it was using the version of basedpyright bundled with the extension instead of the one...