Skip to content

Commit

Permalink
CI: Make isort to check the "scripts" folder as well (pandas-dev#33212
Browse files Browse the repository at this point in the history
)
  • Loading branch information
ShaharNaveh authored Apr 1, 2020
1 parent f40fdf1 commit b7fcae7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion ci/code_checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ if [[ -z "$CHECK" || "$CHECK" == "lint" ]]; then

# Imports - Check formatting using isort see setup.cfg for settings
MSG='Check import format using isort' ; echo $MSG
ISORT_CMD="isort --quiet --recursive --check-only pandas asv_bench"
ISORT_CMD="isort --quiet --recursive --check-only pandas asv_bench scripts"
if [[ "$GITHUB_ACTIONS" == "true" ]]; then
eval $ISORT_CMD | awk '{print "##[error]" $0}'; RET=$(($RET + ${PIPESTATUS[0]}))
else
Expand Down
9 changes: 4 additions & 5 deletions scripts/validate_rst_title_capitalization.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,11 @@
"""
import argparse
import sys
import re
import os
from typing import Tuple, Generator, List
import glob

import os
import re
import sys
from typing import Generator, List, Tuple

CAPITALIZATION_EXCEPTIONS = {
"pandas",
Expand Down

0 comments on commit b7fcae7

Please sign in to comment.