-
-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Use positional-only syntax rather than typing.overload's for various methods now that 3.7 is no longer supported. This works around mypyc/mypyc#961 but is also preferable on its own merits. - Other minor changes to enable `mypyc _base.py` to successfully compile, such as not assuming `BidictBase.__dict__`. - Use `typing.override` on 3.12. - Prefer `alias = t.Tuple[...]` over `alias = 'tuple[...]'`, because this will allow ruff's pyupgrade rules to automatically rewrite these to `alias = tuple[...]` once we drop support for 3.8. - Other minor code, docs, and test improvements. CI: - Enable coverage for 3.11 now that we use typing.override on 3.12+ and use a dummy impl on <3.12. - Increase max-examples for the "more-examples" hypothesis profile to 999. With max-examples=500, the latest scheduled test run on GitHub Actions took under 5 minutes, so we can afford to increase this a lot more. - Use the "more-examples" profile for all jobs in the test matrix for scheduled test runs, since we can afford it.
- Loading branch information
Showing
15 changed files
with
158 additions
and
130 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
*.pyc | ||
*.so | ||
__pycache__ | ||
.DS_Store | ||
.benchmarks | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.