Skip to content

Commit

Permalink
check/pylint-changed-files: add dev_tools/qualtran_dev_tools to `…
Browse files Browse the repository at this point in the history
…PYTHONPATH` (#888)

`check/pylint-changed-files': add `dev_tools/qualtran_dev_tools` to `PYTHONPATH`

Co-authored-by: Matthew Harrigan <mpharrigan@google.com>
  • Loading branch information
anurudhp and mpharrigan authored Apr 23, 2024
1 parent 8011d2d commit 0c09d53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion check/pylint-changed-files
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@ echo "Found ${num_changed} lintable files associated with changes." >&2
if [ "${num_changed}" -eq 0 ]; then
exit 0
fi
env PYTHONPATH=dev_tools pylint --jobs=0 --rcfile=dev_tools/conf/.pylintrc "${changed[@]}"
env PYTHONPATH=dev_tools:dev_tools/qualtran_dev_tools pylint --jobs=0 --rcfile=dev_tools/conf/.pylintrc "${changed[@]}"

0 comments on commit 0c09d53

Please sign in to comment.