Skip to content

Commit

Permalink
fix make lint-docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
m-vdb committed May 23, 2023
1 parent b138eec commit fe3cdc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/lint_python_docstrings.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ set -euo pipefail
# Compare against `main` if no branch was provided
BRANCH="${1:-main}"
# Diff of committed changes (shows only changes introduced by your branch
FILES_WITH_DIFF=`git diff $BRANCH...HEAD --name-only -- rasa | grep -e '\.py$' | xargs echo -n`
FILES_WITH_DIFF=`git diff $BRANCH...HEAD --name-only -- rasa/**/*.py | xargs echo -n`

if [ ! -z "$FILES_WITH_DIFF" ]
then
Expand Down

0 comments on commit fe3cdc4

Please sign in to comment.