From 9952e6107ab4d3fcce11381e97abd472d983b9c3 Mon Sep 17 00:00:00 2001 From: gfyoung Date: Thu, 18 Oct 2018 11:47:52 -0700 Subject: [PATCH] STYLE: Fix isort failure in range.py --- ci/code_checks.sh | 2 +- pandas/core/indexes/range.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 00f17d5c91537..6494311d73290 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -16,7 +16,7 @@ echo "inside $0" [[ $LINT ]] || { echo "NOT Linting. To lint use: LINT=true $0 $1"; exit 0; } -[[ -z "$1" || "$1" == "lint" || "$1" == "patterns" || "$1" == "doctests" ]] || { echo "Unkown command $1. Usage: $0 [lint|patterns|doctests]"; exit 9999; } +[[ -z "$1" || "$1" == "lint" || "$1" == "patterns" || "$1" == "doctests" ]] || { echo "Unknown command $1. Usage: $0 [lint|patterns|doctests]"; exit 9999; } source activate pandas RET=0 diff --git a/pandas/core/indexes/range.py b/pandas/core/indexes/range.py index 30a803c5636c4..2b2f9ca51ce12 100644 --- a/pandas/core/indexes/range.py +++ b/pandas/core/indexes/range.py @@ -1,7 +1,7 @@ import operator +import warnings from datetime import timedelta from sys import getsizeof -import warnings import numpy as np