asottile / babi

a text editor
MIT License
396 stars 46 forks source link

pre-commit runs with the wrong configuration when accessing a file in a different repository #256

Closed asottile closed 11 months ago

asottile commented 2 years ago

went through all the trouble to check the right config exists here: https://github.com/asottile/babi/blob/5cf5f2501c90274e7f640ff0ad4dfb355631b960/babi/linters/pre_commit.py#L66

but then didn't bother actually using it here: https://github.com/asottile/babi/blob/5cf5f2501c90274e7f640ff0ad4dfb355631b960/babi/linters/pre_commit.py#L69