{"action":"created","issue":{"url":"https://api.github.com/repos/pytest-dev/pytest/issues/3342","repository_url":"https://api.github.com/repos/pytest-dev/pytest","labels_url":"https://api.github.com/repos/pytest-dev/pytest/issues/3342/labels{/name}","comments_url":"https://api.github.com/repos/pytest-dev/pytest/issues/3342/comments","events_url":"https://api.github.com/repos/pytest-dev/pytest/issues/3342/events","html_url":"https://github.com/pytest-dev/pytest/issues/3342","id":308341004,"node_id":"MDU6SXNzdWUzMDgzNDEwMDQ=","number":3342,"title":"Support for static typing","user":{"login":"markedwards","id":454900,"node_id":"MDQ6VXNlcjQ1NDkwMA==","avatar_url":"https://avatars3.githubusercontent.com/u/454900?v=4","gravatar_id":"","url":"https://api.github.com/users/markedwards","html_url":"https://github.com/markedwards","followers_url":"https://api.github.com/users/markedwards/followers","following_url":"https://api.github.com/users/markedwards/following{/other_user}","gists_url":"https://api.github.com/users/markedwards/gists{/gist_id}","starred_url":"https://api.github.com/users/markedwards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markedwards/subscriptions","organizations_url":"https://api.github.com/users/markedwards/orgs","repos_url":"https://api.github.com/users/markedwards/repos","events_url":"https://api.github.com/users/markedwards/events{/privacy}","received_events_url":"https://api.github.com/users/markedwards/received_events","type":"User","site_admin":false},"labels":[{"id":224849195,"node_id":"MDU6TGFiZWwyMjQ4NDkxOTU=","url":"https://api.github.com/repos/pytest-dev/pytest/labels/type:%20enhancement","name":"type: enhancement","color":"84b6eb","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-03-25T11:14:06Z","updated_at":"2018-06-10T15:07:08Z","closed_at":null,"author_association":"NONE","body":"Is there any plan to add static type hints to the Pytest code base, or to support/bless a typeshed implementation?  Or is this already solved and my Google skills have failed me?"},"comment":{"url":"https://api.github.com/repos/pytest-dev/pytest/issues/comments/396056349","html_url":"https://github.com/pytest-dev/pytest/issues/3342#issuecomment-396056349","issue_url":"https://api.github.com/repos/pytest-dev/pytest/issues/3342","id":396056349,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NjA1NjM0OQ==","user":{"login":"asottile","id":1810591,"node_id":"MDQ6VXNlcjE4MTA1OTE=","avatar_url":"https://avatars3.githubusercontent.com/u/1810591?v=4","gravatar_id":"","url":"https://api.github.com/users/asottile","html_url":"https://github.com/asottile","followers_url":"https://api.github.com/users/asottile/followers","following_url":"https://api.github.com/users/asottile/following{/other_user}","gists_url":"https://api.github.com/users/asottile/gists{/gist_id}","starred_url":"https://api.github.com/users/asottile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asottile/subscriptions","organizations_url":"https://api.github.com/users/asottile/orgs","repos_url":"https://api.github.com/users/asottile/repos","events_url":"https://api.github.com/users/asottile/events{/privacy}","received_events_url":"https://api.github.com/users/asottile/received_events","type":"User","site_admin":false},"created_at":"2018-06-10T15:07:08Z","updated_at":"2018-06-10T15:07:08Z","author_association":"MEMBER","body":"my 2c:\r\n- exposing a convenient public module for the private types seems like a good idea 👍 \r\n- providing stubs in typeshed also seems like a good idea 👍 (iirc all that's needed here is pytest's project [sign off](https://github.com/python/typeshed/blob/master/CONTRIBUTING.md#adding-a-new-library)\r\n- personally I really dislike the type-comments approach to typing so I'd be -0 on pytest itself starting to adopt mypy annotations until we can stop supporting python 2\r\n- all this said, I usually don't bother annotating my tests 🤷‍♂️ "}}
{"actor":{"display_login":"asottile"}}