Skip to content

Refactor MypyTask and MypyExtension for local customizations#311

Merged
warsaw merged 2 commits intolinkedin:masterfrom
warsaw:mypy
Aug 8, 2019
Merged

Refactor MypyTask and MypyExtension for local customizations#311
warsaw merged 2 commits intolinkedin:masterfrom
warsaw:mypy

Conversation

@warsaw
Copy link
Copy Markdown
Contributor

@warsaw warsaw commented Jul 16, 2019

If and when python/mypy#7219 lands, we will have the
ability to tell mypy to traverse into PEP 420 namespace packages. In order to
preserve backward compatibility, the MypyExtension now allows clients to set
the mypy command line arguments, but if they don't it will use the old command
line of just passing the source directory.

If and when python/mypy#7219 lands, we will have the
ability to tell mypy to traverse into PEP 420 namespace packages.  In order to
preserve backward compatibility, the MypyExtension now allows clients to set
the mypy command line arguments, but if they don't it will use the old command
line of just passing the source directory.
@warsaw warsaw changed the title Refactor MypyTask and MypyExtension for local customizations WIP: Refactor MypyTask and MypyExtension for local customizations Jul 16, 2019
@warsaw warsaw changed the title WIP: Refactor MypyTask and MypyExtension for local customizations Refactor MypyTask and MypyExtension for local customizations Jul 19, 2019
@warsaw
Copy link
Copy Markdown
Contributor Author

warsaw commented Jul 19, 2019

Upstream mypy has accepted and merged my changes. In preparation for the next release, this is branch is ready for review.

@warsaw warsaw requested review from DPUkyle and zvezdan July 19, 2019 16:47
* The mypy extension only collects and returns the argument list; if it's null
  then it's up to the task to provide defaults.
* Revert the addition of the `project` argument to MypyExtension's ctor.
@warsaw warsaw merged commit 66309f4 into linkedin:master Aug 8, 2019
@warsaw warsaw deleted the mypy branch August 8, 2019 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants