bfiles
2025-02-24
Build system migrated to hatch, bf alias added, and config and exclusion systems refined
10 files · 202+ · 135-
Build system migration
4 files changed
pyproject.tomlFully declarative pyproject.toml with hatch build tooling, test scripts, and updated dependencies (attrs>=25.1.0, click>=8.1.8)uv.lockDependency lock file added for reproducible installssetup.pyRemoved in favor of declarative pyproject.tomlrequirements.txtRemoved in favor of pyproject.toml dependencies
- Removed
setup.pyandrequirements.txtin favor of fully declarativepyproject.tomlwith hatch build tooling baseline internal3 files
pyproject.tomlsetup.pyrequirements.txt
- Added
uv.lockfor dependency locking baseline internal1 file
uv.lock
- Configured hatch environments with test scripts (pytest, coverage, lint, format)
qualify
errata
1 file
pyproject.toml
- Set dependencies to
attrs>=25.1.0andclick>=8.1.8baseline internal1 file
pyproject.toml
CLI alias
2 files changed
bfShort alias shell wrapper script for python3 -m bfiles.clibfilesRemoved old shell wrapper replaced by bf alias
- Added
bfshell wrapper script as a short alias forpython3 -m bfiles.cliinstantiate behavioral1 file
bf
- Removed old
bfilesshell wrapper (replaced by the newbfalias) instantiate internal1 file
bfiles
Configuration updates
1 file changed
config.pyDefault output filename changed to bfiles.txt; modern type hints; validate() method added; .bfile(s) excluded by default
- Changed default output filename from
bundle.txttobfiles.txtdecouple behavioral1 file
config.py
- Updated default exclusion patterns to also exclude
.bfile(s)output files decouple behavioral1 file
config.py
- Modernized type hints from
List[str]tolist[str]specify internal1 file
config.py
- Simplified
__post_init__by removing verbose logging and streamlining regex compilation decouple behavioral1 file
config.py
- Added
validate()method for checking output path existence and log verbosity instantiate behavioral1 file
config.py
Exclusion engine improvements
1 file changed
exclusions.pyEnhanced ExclusionManager with better glob vs regex pattern differentiation
Cleanup
2 files changed
bundle.txtRemoved accidentally committed bundle output from source tree.gitignoreAdded .bfile and .bfile.* exclusion patterns
- Removed accidentally committed
bundle.txtoutput file from source tree decouple behavioral1 file
bundle.txt
- Added
.bfileand.bfile.*patterns to.gitignoreinstantiate internal1 file
.gitignore