Closed palewire closed 1 year ago
That's generally fine with me, though you'd need to get venv
worked out in Actions. I've never done that one. I tend to use pipenv and a Pipfile when I go that route.
Ah, good point. Those venv/bin calls weren't strictly necessary, rather just a convenience for local development. Now stripped out, change pushed in commit above.
Kay. I see that black and isort are in the make lint
command. In this case they wouldn't be committed to the repo, which does make them unnecessary. Unless we want to add an autocommit.
Or does --check
validate? That's new to me.
Or does
--check
validate? That's new to me.
Yep!
Okay. I put in make lint
then.
Awesome, merging. Ultimately, I'll probably move the mypy command into make lint
, but totally fine to keep it in the GH workflow file for now.
I think adding a workflow for linting is great. But to keep a single source of truth on this, how do you feel about using/updating the
make lint
commend in the repo's Makefile instead of redefining the linters in the GH workflow file? Entirely possible that I'm overlooking some complication / reason to keep separate!