bfiles
2025-12-28
Overhaul release workflow, expand ruff rules, clean up error hierarchy, and add CHANGELOG
7 files · 263+ · 125-
Release Workflow Overhaul
1 file changed
release.ymlRewritten from build-test-publish to download-artifacts-from-CI pattern; reduced from 81 to 46 lines
- Rewrote release workflow from build-test-publish pattern to download-artifacts-from-CI pattern
qualify
behavioral
1 file
release.yml
- Replaced inline build job with
dawidd6/action-download-artifact@v6to download pre-built artifacts from CI runs baseline internal1 file
release.yml
- Simplified from 81 lines to 46 lines — removed redundant TestPyPI step and Windows/Linux build duplication
instantiate
internal
1 file
release.yml
- Upgraded
softprops/action-gh-releasefrom v1 to v2 decouple internal1 file
release.yml
Linting Configuration Expansion
1 file changed
pyproject.tomlExpanded ruff lint rule selection; added ignore list; upgraded setuptools requirement to >=75.0
- Expanded ruff lint rule selection: added
BLE,PIE,PLR,S(bandit security) rules harden errata1 file
pyproject.toml
- Added 15 specific ignore rules for overly restrictive checks (e.g.,
BLE001,S101,PLR0911-0915,PLR2004) instantiate internal1 file
pyproject.toml
- Expanded test-file-specific ignores with security and complexity rule suppressions
qualify
internal
1 file
pyproject.toml
- Upgraded setuptools requirement from
>=61.0to>=75.0baseline internal1 file
pyproject.toml
Error Hierarchy Cleanup
1 file changed
errors.pyRemoved 44 lines of unnecessary `pass` statements from empty exception class bodies
- Removed 44 lines of unnecessary
passstatements from empty exception class bodies decouple internal1 file
errors.py
- All exception classes in the hierarchy (
BundleError,ExclusionError,PatternCompilationError,GitignoreParseError,MetadataError,ChecksumError,TokenCountError,UnbundleError) now use implicit empty class body decouple internal1 file
errors.py
Other Changes
4 files changed
CHANGELOG.mdAdded changelog documenting v0.3.0 initial release (25 lines)LICENSEExpanded with full Apache 2.0 contentcli.pyRemoved unnecessary linesexclusions.pyRemoved unnecessary lines