v0.7.0
v0.7.0 (2024-05-14)
Breaking
- fix: π π·οΈ improve type hints that mypy complained about
BREAKING-CHANGE: hypothesis will no longer (incorrectly) generate a arbitrary CUDA torch.devices when using builds on torch.cuda.device
. (b62c0f7
)
- fix: π π·οΈ remove support for
Mapping[str, Any]
aselements
argument totensor_strategy
.
Passing in a mapping, although supported by the numpy
strategy used internally, is rarely used for generating tensors, and overly complicates the error handling for bfloat16 tensors.
BREAKING-CHANGE: Removed support for Mapping[str, Any]
as elements
argument to tensor_strategy
. (015abc0
)
Ci
-
ci: enable mypy in ci (
e43a139
) -
ci: enable mypy in pre-commit and use local ruff (
5751de7
) -
ci: enable pyright in pre-commit (
57b7a44
) -
ci: enable pyright in CI (
c7508c6
) -
ci: enable pyright in CI (
ae70427
)
Documentation
-
docs: π·οΈ improve type hints for
transformer_strategy
by fixing missingNone
Type and incorrect return type. (c435e3c
) -
docs: π·οΈ improve type hints for
optimizer_strategy
by fixing missingNone
Type and incorrect return type. (4001a0c
) -
docs: π·οΈ improve type hints for internal implementation details of
alternate
iterable util function. (3f85472
) -
docs: π·οΈ improve type hints for internal implementation by making some imports explicit. (
e6ac523
) -
docs: π·οΈ improve type hints for internal TorchRandomWrapper object. (
af953ce
)
Style
-
style: enable ruff style rules. (
680bacf
) -
style: enable flake9-use-pathlib annotation via ruff. (
fb60e9c
) -
style: enable pyflakes annotation via ruff. (
829bbf7
) -
style: upgrade internal references to deprecated/moved python typing constructs to be compatible with python 3.9 (
04b15c1
) -
style: enable pycodestyle warning via ruff. (
7b4d0c7
) -
style: adopt perflint via ruff for internal code. (
12ec834
) -
style: adopt refurb via ruff for internal code. (
0fe5f13
) -
style: adopt isort via ruff for internal code. (
2dc520d
)
Unknown
- Merge pull request #46 from qthequartermasterman/more-linting
fix: π¨ π π·οΈ π Increase linting (c290e12
)