Skip to content

Commit

Permalink
🔧 no build isolation for uv
Browse files Browse the repository at this point in the history
  • Loading branch information
jorenham committed Dec 21, 2024
1 parent 1a64764 commit b265f69
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 23 deletions.
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ Issues = "https://github.com/jorenham/scipy-stubs/issues"
Changelog = "https://github.com/jorenham/scipy-stubs/releases"
Funding = "https://github.com/sponsors/jorenham"

[tool.uv]
no-build-isolation-package = ["uv"]
upgrade-package = ["uv"]

[tool.hatch.build]
packages = ["scipy-stubs"]

Expand Down Expand Up @@ -163,7 +167,6 @@ warn_unreachable = true
warn_unused_ignores = true
disallow_any_explicit = false # no other way to type e.g. `float64 <: number[Any]`
enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"]
# plugins = ["numpy.typing.mypy_plugin"]

[tool.pyright]
include = ["codegen", "scipy-stubs", "tests"]
Expand Down Expand Up @@ -195,7 +198,6 @@ reportPropertyTypeMismatch = false
reportShadowedImports = true
reportUnannotatedClassAttribute = true # based
reportUninitializedInstanceVariable = true
# reportUnnecessaryTypeIgnoreComment = false # mypy compat
reportUnnecessaryTypeIgnoreComment = true # mypy compat
strictGenericNarrowing = true # based

Expand Down
42 changes: 21 additions & 21 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b265f69

Please sign in to comment.