Dan Crosta
Dan Crosta
With attrs 19.1.0/py 3.7.2, I have the following `attrbug.py`: ```python from typing import Optional from attr import validators import attr @attr.s class DoesntWorkWithMyPy: required_bool: bool = attr.ib( validator=validators.optional(validators.instance_of(bool)), default=False, )...
With the following code: ```python class MyConfigSet(ConfigSet): def register_config(self) -> None: self.add_config( keys=["key"], of_type=Optional[str], default=None, desc="desc", ) ``` I get the following mypy error: ``` error: Argument "of_type" to "add_config"...
We frequently upload wheels for packages that don't have them in PyPI to our DevPI instance. This works as long as everyone depends on whatever version you happen to upload,...
@sashimi3 would you be willing to move https://hub.docker.com/r/ksdn117/tcp-udp-test to the toxdocker org?
At least one known case where this doesn't happen today is if we raise an exception during the `tox_runtest_pre` hook; this will abort the tox run and fail to do...
Use mypy
I'd rather not use comment-style annotations. And since this is a library, it might make sense to use (and ship) stub files so that others can benefit from the type...
(Mostly) replace the flake8 stuff with black. We'll want to keep flake8 for import sorting. See https://gitlab.com/bigapplepy/yak-bak/blob/master/tox.ini#L41-49 and https://gitlab.com/bigapplepy/yak-bak/blob/master/tox.ini#L58-67 for reference on what we want to do here.