Closed jayich closed 2 years ago
See comments on Zulip - run nox -rs fmt
@gschaffner When I ran nox
in the tray_launcher directory, I saw the following error messages. Is nox
malfunctioning, or is there a step I forgot to take beforehand? pip install nox
was executed earlier.
I don't think it is malfunctioning. The lint
session is just failing because the linter wants you to change things. Most of those are isort warnings. Isort warnings in particular are pretty repetitive unfortunately but they should all go away if you run autoformatting with nox -rs fmt
.
I don't think it is malfunctioning. The
lint
session is just failing because the linter wants you to change things. Most of those are isort warnings. Isort warnings in particular are pretty repetitive unfortunately but they should all go away if you run autoformatting withnox -rs fmt
.
Ah, I thought you said that nox
is a shortcut for both. Apparently I was making things up: you said nox -rs fmt lint
does both. Thanks a lot, it works perfectly.
Sure! BTW, if you would prefer it to be a shortcut to both you can add "fmt"
into the default sessions list here:
Sure! BTW, if you would prefer it to be a shortcut to both you can add
"fmt"
into the default sessions list here:
something like nox.options.sessions = ("fmt", "lint",)
? Sounds good.
See: https://github.com/Jayich-Lab/tray-launcher/issues/10#issuecomment-1013741486