Skip to content

Commit 7e72416

Browse files
committed
Fix bracket
1 parent cf440cc commit 7e72416

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ runs:
123123
if [[ $retval -ne 0 ]]; then
124124
# don't fail "hard" if it's known failures that we cannot account for (yet)
125125
# pytype doesn't support 3.11+ yet
126-
if [[ "${INPUTS_LINTER}" == "pytype" -a "${INPUTS_PYTHON_VERSION}" =~ ^3\.(1[1-9]|[2-9][0-9]$ ]]; then
126+
if [[ "${INPUTS_LINTER}" == "pytype" -a "${INPUTS_PYTHON_VERSION}" =~ ^3\.(1[1-9]|[2-9][0-9])$ ]]; then
127127
echo "::warning::pytype failed to run for Python ${INPUTS_PYTHON_VERSION}; this is likely due to pytype not yet supporting Python ${INPUTS_PYTHON_VERSION}"
128128
exit 0
129129
# fixit>1 doesn't work for 3.7

0 commit comments

Comments
 (0)