Skip to content

Commit

Permalink
Build with mypyc 1.2
Browse files Browse the repository at this point in the history
Several new versions of mypyc has been released since the last upgrade, and they include some performance improvements which could make the compiled version of Black run faster.

https://mypy-lang.org/news.html

The latest version of hatch-mypyc allows being installed next the 1.x series of mypy.

I chose mypyc because it has already been out for a little while, and should probably be quite stable by now, but can also try a different version!
  • Loading branch information
stianjensen committed May 19, 2023
1 parent eedfc38 commit 8b8aeab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Expand Up @@ -119,8 +119,8 @@ sources = ["src"]
[tool.hatch.build.targets.wheel.hooks.mypyc]
enable-by-default = false
dependencies = [
"hatch-mypyc>=0.13.0",
"mypy==0.991",
"hatch-mypyc>=0.16.0",
"mypy==1.2",
# Required stubs to be removed when the packages support PEP 561 themselves
"types-typed-ast>=1.4.2",
]
Expand Down

0 comments on commit 8b8aeab

Please sign in to comment.