Skip to content

Commit d3ca8ce

Browse files
committed
Pyenv switch during lint
1 parent 45857df commit d3ca8ce

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ install: install-node install-python .git/hooks/pre-commit
1818

1919
#Run the npm linting script (specified in package.json). Used to check the syntax and formatting of files.
2020
lint:
21+
pyenv local $(pyenv versions --bare | grep '^3\.10' | sort -rV | head -n 1)
2122
npm run lint
2223
find . -name '*.py' -not -path '**/.venv/*' -not -path '**/.terraform/*'| xargs poetry run flake8
2324

0 commit comments

Comments
 (0)