Skip to content

Commit

Permalink
Skip format pyi file
Browse files Browse the repository at this point in the history
  • Loading branch information
yijie-yang committed Sep 20, 2024
1 parent 21a2742 commit 181856b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ci/code_style_check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ LICENSE_CHECK_RESULT=$?
############################################################

PYINK_COMMAND="pyink --pyink-use-majority-quotes --pyink-indentation=2 --preview --unstable --line-length 80
--extend-exclude .downloads --check ./"
--extend-exclude .downloads --extend-exclude '\.pyi' --check ./"

echo "Testing python formatting with ${PYINK_COMMAND}"
${PYINK_COMMAND}
Expand Down
4 changes: 1 addition & 3 deletions format.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,4 @@ set -ex
pip install pyink

pyink --pyink-use-majority-quotes --pyink-indentation=2 --preview --unstable --line-length 80 \
--extend-exclude .downloads \
--extend-exclude "\.pyi" \
./
--extend-exclude .downloads --extend-exclude '\.pyi' ./

0 comments on commit 181856b

Please sign in to comment.