Skip to content

Commit

Permalink
Small fixes to python calls
Browse files Browse the repository at this point in the history
  • Loading branch information
kaczmarczyck committed Nov 6, 2023
1 parent bba9078 commit 1a68b48
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion deploy.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env py_virtual_env/bin/python3
#!py_virtual_env/bin/python3
# Copyright 2019-2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
2 changes: 1 addition & 1 deletion tools/configure.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env py_virtual_env/bin/python3
#!py_virtual_env/bin/python3
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
8 changes: 2 additions & 6 deletions tools/run_pylint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@
# Ensure we are at the project root directory
cd $(readlink -f $(dirname $0))/..

if [ -f "py_virtual_env/bin/pylint" ]; then
PYLINT=py_virtual_env/bin/pylint
else
PYLINT=pylint
fi
export PATH="py_virtual_env/bin:$PATH"

"$PYLINT" --score=n `git ls-files --deduplicate --exclude-standard --full-name '*.py'`
pylint --score=n `git ls-files --deduplicate --exclude-standard --full-name '*.py'`

0 comments on commit 1a68b48

Please sign in to comment.