AstraLuma / xontrib-z

Tracks your most used directories, based on 'frecency'.
GNU General Public License v3.0
24 stars 16 forks source link

[FIX] Update use of `xonsh.lazyasd` #22

Closed arkhan closed 1 month ago

arkhan commented 1 month ago

It's now xonsh.lib.lazyasd.

Additionally format with black.

arkhan commented 1 month ago

In addition to the importation of the xonsh.lib.lazyasd, the code was formatting using Python-Black

AstraLuma commented 1 month ago

Yeah, thinking about this, I'm not willing to accept a commit where the unwanted reformat is 10x larger than the actual change.

I have only merged the one line change.

Next time, I suggest at least breaking it up into two commits so that features like --ignore-revs-file can be used (git github). But I strongly recommend you start using Black, Ruff, and other opinionated linting tools only in repos that ask for it.