{"action":"created","issue":{"url":"https://api.github.com/repos/python/mypy/issues/5205","repository_url":"https://api.github.com/repos/python/mypy","labels_url":"https://api.github.com/repos/python/mypy/issues/5205/labels{/name}","comments_url":"https://api.github.com/repos/python/mypy/issues/5205/comments","events_url":"https://api.github.com/repos/python/mypy/issues/5205/events","html_url":"https://github.com/python/mypy/issues/5205","id":331534598,"node_id":"MDU6SXNzdWUzMzE1MzQ1OTg=","number":5205,"title":"Support for pyproject.toml","user":{"login":"pslacerda","id":149358,"node_id":"MDQ6VXNlcjE0OTM1OA==","avatar_url":"https://avatars1.githubusercontent.com/u/149358?v=4","gravatar_id":"","url":"https://api.github.com/users/pslacerda","html_url":"https://github.com/pslacerda","followers_url":"https://api.github.com/users/pslacerda/followers","following_url":"https://api.github.com/users/pslacerda/following{/other_user}","gists_url":"https://api.github.com/users/pslacerda/gists{/gist_id}","starred_url":"https://api.github.com/users/pslacerda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pslacerda/subscriptions","organizations_url":"https://api.github.com/users/pslacerda/orgs","repos_url":"https://api.github.com/users/pslacerda/repos","events_url":"https://api.github.com/users/pslacerda/events{/privacy}","received_events_url":"https://api.github.com/users/pslacerda/received_events","type":"User","site_admin":false},"labels":[{"id":21488358,"node_id":"MDU6TGFiZWwyMTQ4ODM1OA==","url":"https://api.github.com/repos/python/mypy/labels/feature","name":"feature","color":"84b6eb","default":false},{"id":46131301,"node_id":"MDU6TGFiZWw0NjEzMTMwMQ==","url":"https://api.github.com/repos/python/mypy/labels/needs%20discussion","name":"needs discussion","color":"bfdadc","default":false},{"id":610718653,"node_id":"MDU6TGFiZWw2MTA3MTg2NTM=","url":"https://api.github.com/repos/python/mypy/labels/topic-developer","name":"topic-developer","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-06-12T10:45:43Z","updated_at":"2018-06-12T17:27:30Z","closed_at":null,"author_association":"NONE","body":"PEP518 says that `pyproject.toml` is to support the minimum build requirements. I want to consider mypy as part of the minimum build on my package.\r\n\r\nFor example Pip uses a `[tool.towncrier]` section on `pyproject.toml` to generate a correctly updated `NEWS.rst` as part of its build. One can considers typing correctness as important to the distributed source pakcage as an well documented `NEWS.rst`. Other example is Black that also has it section on `pyproject.toml`.\r\n\r\nMaybe you think that this is a silly feature request and that `setup.cfg` must be used instead, Pip or Flit or whatever can setup mypy after all. But an TOML module will be added to the standard library sooner or later, than could mypy accept this feature and antecipate TOML supporting `pyproject.toml` today?"},"comment":{"url":"https://api.github.com/repos/python/mypy/issues/comments/396670052","html_url":"https://github.com/python/mypy/issues/5205#issuecomment-396670052","issue_url":"https://api.github.com/repos/python/mypy/issues/5205","id":396670052,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NjY3MDA1Mg==","user":{"login":"pslacerda","id":149358,"node_id":"MDQ6VXNlcjE0OTM1OA==","avatar_url":"https://avatars1.githubusercontent.com/u/149358?v=4","gravatar_id":"","url":"https://api.github.com/users/pslacerda","html_url":"https://github.com/pslacerda","followers_url":"https://api.github.com/users/pslacerda/followers","following_url":"https://api.github.com/users/pslacerda/following{/other_user}","gists_url":"https://api.github.com/users/pslacerda/gists{/gist_id}","starred_url":"https://api.github.com/users/pslacerda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pslacerda/subscriptions","organizations_url":"https://api.github.com/users/pslacerda/orgs","repos_url":"https://api.github.com/users/pslacerda/repos","events_url":"https://api.github.com/users/pslacerda/events{/privacy}","received_events_url":"https://api.github.com/users/pslacerda/received_events","type":"User","site_admin":false},"created_at":"2018-06-12T17:27:30Z","updated_at":"2018-06-12T17:27:30Z","author_association":"NONE","body":"To put it clear: enable sections like `[tool.mypy]` or `[tool.mypy-somepackage]` in `pyproject.toml`."}}
{"actor":{"display_login":"pslacerda"}}