Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start with types rebase #1235

Merged
merged 18 commits into from Feb 29, 2020

Conversation

TheWizardTower
Copy link
Contributor

Let's try this again.

I think I vaporized my other branch, which nullified my existing PR. But. This is the same code.

@grahamc
Copy link
Member

grahamc commented Feb 29, 2020

I wonder if that future patch makes the nixops.deployment.Deployment type hint work, too. I've wanted to do that elsewhere but got bit by the circular dependency.

Copy link
Member

@grahamc grahamc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

Want to try that __future__ annotations thing for the Deployment type in this one? I'm happy to merge as-is.

@TheWizardTower
Copy link
Contributor Author

It looks like it passes mypy on my machine? No harm in giving it a go here.

@grahamc
Copy link
Member

grahamc commented Feb 29, 2020

Blah. Dang. Burned by reality. Let's undo that and merge :)

@TheWizardTower
Copy link
Contributor Author

ImportError: cannot import name 'Deployment' from 'nixops.deployment' (/build/nixops-1.8pre0_abcdef/nixops/deployment.py)

I think this is toast. :(

will un-merge.

@grahamc grahamc merged commit f691fd5 into NixOS:start-with-types Feb 29, 2020
@grahamc
Copy link
Member

grahamc commented Feb 29, 2020

Thank you, this is amazing!

@grahamc grahamc added this to the 2.0 milestone Apr 20, 2020
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.

None yet

2 participants