Thomas Grainger
Thomas Grainger
Time for a plugin: pytest-strictest to introduce "--strictest" as a command flag that enables all 3 strict options
fwiw I like the `--strict=all` suggestion that enables all 3 strict modes
what about passing a pypi major version to strict: `--strict=7` any new strictness settings will be graded with the major version they are added in, then `--strict` will enable any...
then you can keep `--strict` with no `=` deprecated forever
Usually new strict options get added in minor releases because they're not a breaking change. If we made `--strict` a recommendation then release managers would have to delay every new...
I don't think this is fixable very easily because sphinx imports the concrete type and uses typing.get_type_hints to resolve the annotation, anything in "if TYPE_CHECKING:` will become a ForwardRef
I think the only workaround here is as documented in https://github.com/agronholm/sphinx-autodoc-typehints#dealing-with-circular-imports ```python #!/usr/bin/env python from __future__ import annotations from crate_anon.anonymise import patient class AlterMethod: """ AlterMethod class """ def alter(...
Any chance of porting it to webextension On 31 Aug 2017 20:56, "Benjamin Dobell" wrote: A first pass at a Chrome extension: https://github.com/Benjamin-Dobell/chrome-steam-redeem It *should* be in the process of...
Cool! I think you should post your solution to the Reddit thread On 31 Aug 2017 9:28 pm, "Benjamin Dobell" wrote: > Sure, I'd like to be a cross-platform as...
@mysticatea don't allow assert as the only value inside an if/alternative body.