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.yml Rewritten 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@v6 to download pre-built artifacts from CI runs baseline internal
    1 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-release from v1 to v2 decouple internal
    1 file
    • release.yml

Linting Configuration Expansion

1 file changed
  • pyproject.toml Expanded 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 errata
    1 file
    • pyproject.toml
  • Added 15 specific ignore rules for overly restrictive checks (e.g., BLE001, S101, PLR0911-0915, PLR2004) instantiate internal
    1 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.0 to >=75.0 baseline internal
    1 file
    • pyproject.toml

Error Hierarchy Cleanup

1 file changed
  • errors.py Removed 44 lines of unnecessary `pass` statements from empty exception class bodies
  • Removed 44 lines of unnecessary pass statements from empty exception class bodies decouple internal
    1 file
    • errors.py
  • All exception classes in the hierarchy (BundleError, ExclusionError, PatternCompilationError, GitignoreParseError, MetadataError, ChecksumError, TokenCountError, UnbundleError) now use implicit empty class body decouple internal
    1 file
    • errors.py

Other Changes

4 files changed
  • CHANGELOG.md Added changelog documenting v0.3.0 initial release (25 lines)
  • LICENSE Expanded with full Apache 2.0 content
  • cli.py Removed unnecessary lines
  • exclusions.py Removed unnecessary lines
  • Added CHANGELOG.md (25 lines) documenting v0.3.0 initial release specify errata
    1 file
    • CHANGELOG.md
  • Updated LICENSE with expanded Apache 2.0 content decouple internal
    1 file
    • LICENSE
  • Removed unnecessary lines from cli.py and exclusions.py decouple behavioral
    2 files
    • cli.py
    • exclusions.py