Skip to content

Commit b7fcae7

Browse files
authored
CI: Make isort to check the "scripts" folder as well (#33212)
1 parent f40fdf1 commit b7fcae7

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

ci/code_checks.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ if [[ -z "$CHECK" || "$CHECK" == "lint" ]]; then
121121

122122
# Imports - Check formatting using isort see setup.cfg for settings
123123
MSG='Check import format using isort' ; echo $MSG
124-
ISORT_CMD="isort --quiet --recursive --check-only pandas asv_bench"
124+
ISORT_CMD="isort --quiet --recursive --check-only pandas asv_bench scripts"
125125
if [[ "$GITHUB_ACTIONS" == "true" ]]; then
126126
eval $ISORT_CMD | awk '{print "##[error]" $0}'; RET=$(($RET + ${PIPESTATUS[0]}))
127127
else

scripts/validate_rst_title_capitalization.py

+4-5
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,11 @@
1010
1111
"""
1212
import argparse
13-
import sys
14-
import re
15-
import os
16-
from typing import Tuple, Generator, List
1713
import glob
18-
14+
import os
15+
import re
16+
import sys
17+
from typing import Generator, List, Tuple
1918

2019
CAPITALIZATION_EXCEPTIONS = {
2120
"pandas",

0 commit comments

Comments
 (0)