-
Notifications
You must be signed in to change notification settings - Fork 3
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
Type (almost) all the things #122
Draft
PeterJCLaw
wants to merge
14
commits into
master
Choose a base branch
from
more-types
base: master
Could not load branches
Branch not found: {{ refName }}
Could not load tags
Nothing to show
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Commits on Sep 24, 2022
-
Move to a newer Circle CI convenience image
The old circleci/python images are deprecated.
Configuration menu - View commit details
-
Copy full SHA for c81f772 - Browse repository at this point
Copy the full SHA c81f772View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae37ef6 - Browse repository at this point
Copy the full SHA ae37ef6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e22e91 - Browse repository at this point
Copy the full SHA 3e22e91View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8044aea - Browse repository at this point
Copy the full SHA 8044aeaView commit details -
Configuration menu - View commit details
-
Copy full SHA for ddd9749 - Browse repository at this point
Copy the full SHA ddd9749View commit details -
Configuration menu - View commit details
-
Copy full SHA for 17aa9c1 - Browse repository at this point
Copy the full SHA 17aa9c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 657b091 - Browse repository at this point
Copy the full SHA 657b091View commit details -
Configuration menu - View commit details
-
Copy full SHA for f62f4f8 - Browse repository at this point
Copy the full SHA f62f4f8View commit details -
The majority of these were added via MonkeyType from running the tests, with some manual adjustment afterwards. This also includes some minor refactors where doing so made the types clearer. This does leave one typing issue unresolved as it is highlighting a potential bug.
Configuration menu - View commit details
-
Copy full SHA for f3b1427 - Browse repository at this point
Copy the full SHA f3b1427View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4401243 - Browse repository at this point
Copy the full SHA 4401243View commit details -
Spell these ignore codes correctly
I'm guessing these relate to older versions of mypy which didn't know how to read the code, however it seems reasonable to assume a newer enough version of mypy now.
Configuration menu - View commit details
-
Copy full SHA for e16192d - Browse repository at this point
Copy the full SHA e16192dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8acb7c4 - Browse repository at this point
Copy the full SHA 8acb7c4View commit details -
Drop unused noqa from typing imports
These were needed in very old versions of flake8, which didn't support reading quoted type annotations.
Configuration menu - View commit details
-
Copy full SHA for ecb7026 - Browse repository at this point
Copy the full SHA ecb7026View commit details -
Allow type checking imports to violate layering
Ideally we probably wouldn't do this, however that would require a fairly substantial re-working of where various types are defined and/or introducing rather a lot of protocols. We maybe should do that at some point, however until then it seems reasonable to allow type checking imports to specifically sidestep the layering constraints.
Configuration menu - View commit details
-
Copy full SHA for 7048fea - Browse repository at this point
Copy the full SHA 7048feaView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.