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.15k stars 36 forks source link

Fix excludes on Windows #336

Closed emdoyle closed 1 month ago

emdoyle commented 2 months ago

Fixes: #326

This fixes Tach on Windows by using forward slashes as the canonical form in exclude patterns.

More specifically, checking exclude patterns will now always use paths with forward slash separators, which also means users should always use forward slashes in the exclude patterns themselves.