Skip to content

Commit

Permalink
Merge pull request #525 from avcopan/dev
Browse files Browse the repository at this point in the history
Throw error if linting fails
  • Loading branch information
avcopan authored Jul 9, 2024
2 parents e699ff7 + 56057c2 commit 96703bc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion old-lint.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
#!/usr/bin/env bash
set -e # if any command fails, quit
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )

(
cd $SCRIPT_DIR
echo "New linting:"
bash ./lint.sh
source ./lint.sh

echo "Old linting:"
pylint --rcfile=.pylintrc automol
Expand Down

0 comments on commit 96703bc

Please sign in to comment.