gauge-sh / tach

A Python tool to enforce dependencies, using modular architecture 🌎 Open source 🐍 Installable via pip πŸ”§ Able to be adopted incrementally - ⚑ Implemented with no runtime impact ♾️ Interoperable with your existing systems πŸ¦€ Written in rust
https://gauge.sh
MIT License
1.01k stars 35 forks source link

Fix ignore globs #308

Closed emdoyle closed 1 week ago

emdoyle commented 1 week ago

tach mod was showing directories like __pycache__ because the glob patterns in tach.toml didn't play nicely with fnmatch. The trailing slashes were causing matches only on directories, not the underlying files which actually needed to be excluded.