Dynamic analysis#137
Merged
Merged
Conversation
Test Coverage Report
|
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
hatchling sources the version from the VERSION file, so a single edit to that file propagates to the package, the man page, and the docs.
Run bandit over bitmath/ and tests/ as a dedicated GitHub Actions workflow (push, pull request, weekly) and as part of make ci, so the local build catches the same issues CI does.
Add the bandit workflow status badge and update the PyPI version and license badges.
Reorganize and tighten the docsite. listdir() now emits a DeprecationWarning and will be removed in a future release; getsize() and listdir() accept pathlib.Path arguments. Closes #27
Finishes the Python 2 to 3 cleanup of the numeric internals. - Remove dead Py2-era float() casts from division expressions, where Python 3 true division already yields a float - Force float on the three constructor paths (bytes=, bits=, and the Bit value constructor) that previously leaked int, so .bytes and .bits return float regardless of how an instance was built - Add regression tests pinning the float invariant - Document the uniform float behavior in the Rules for Math appendix - Add the bitmath-2.1.0 NEWS section and bump VERSION to 2.1.0
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Short description: Adds dynamic code analysis
In the interest of being a trustworthy library for people on the Internet, we are adding dynamic code analysis to supplement the existing static code analysis.
Also bumps VERSION in preparation for next minor release.
Closes #134