Repository: great-expectations/great_expectations

Issue:
Use cleaner solution for non-truncating division in python 2
Prefer `from __future__ import division` to `1.*x/y`


Discussion:
Done inline during improve_partitions push.

Resolving patch:
diff --git a/examples/expectations/column_aggregate_expectation_template.py b/examples/expectations/column_aggregate_expectation_template.py
--- a/examples/expectations/column_aggregate_expectation_template.py
+++ b/examples/expectations/column_aggregate_expectation_template.py
@@ -6,7 +6,7 @@
 
 from typing import Dict, Optional
 
-from great_expectations.core import ExpectationConfiguration
+from great_expectations.core.expectation_configuration import ExpectationConfiguration
 from great_expectations.exceptions import InvalidExpectationConfigurationError
 from great_expectations.execution_engine import (
     ExecutionEngine,
diff --git a/examples/expectations/column_map_expectation_template.py b/examples/expectations/column_map_expectation_template.py
--- a/examples/expectations/column_map_expectation_template.py
+++ b/examples/expectations/column_map_expectation_template.py
@@ -7,16 +7,14 @@
 import json
 from typing import Optional
 
+from great_expectations.core.expectation_configuration import ExpectationConfiguration
 from great_expectations.exceptions import InvalidExpectationConfigurationError
 from great_expectations.execution_engine import (
     PandasExecutionEngine,
     SparkDFExecutionEngine,
     SqlAlchemyExecutionEngine,
 )
-from great_expectations.expectations.expectation import (
-    ColumnMapExpectation,
-    ExpectationConfiguration,
-)
+from great_expectations.expectations.expectation import ColumnMapExpectation
 from great_expectations.expectations.metrics import (
     ColumnMapMetricProvider,
     column_condition_partial,


Test patch:
diff --git a/tests/integration/docusaurus/expectations/creating_custom_expectations/expect_column_max_to_be_between_custom.py b/tests/integration/docusaurus/expectations/creating_custom_expectations/expect_column_max_to_be_between_custom.py
--- a/tests/integration/docusaurus/expectations/creating_custom_expectations/expect_column_max_to_be_between_custom.py
+++ b/tests/integration/docusaurus/expectations/creating_custom_expectations/expect_column_max_to_be_between_custom.py
@@ -1,6 +1,6 @@
 from typing import Dict, Optional
 
-from great_expectations.core import ExpectationConfiguration
+from great_expectations.core.expectation_configuration import ExpectationConfiguration
 from great_expectations.exceptions.exceptions import (
     InvalidExpectationConfigurationError,
 )
diff --git a/tests/integration/docusaurus/expectations/creating_custom_expectations/expect_column_values_to_equal_three.py b/tests/integration/docusaurus/expectations/creating_custom_expectations/expect_column_values_to_equal_three.py
--- a/tests/integration/docusaurus/expectations/creating_custom_expectations/expect_column_values_to_equal_three.py
+++ b/tests/integration/docusaurus/expectations/creating_custom_expectations/expect_column_values_to_equal_three.py
@@ -3,6 +3,7 @@
 
 from numpy import array
 
+from great_expectations.core.expectation_configuration import ExpectationConfiguration
 from great_expectations.execution_engine import (
     PandasExecutionEngine,
     SparkDFExecutionEngine,
@@ -15,7 +16,6 @@
 )
 from great_expectations.expectations.expectation import (
     ColumnMapExpectation,
-    ExpectationConfiguration,
     ExpectationValidationResult,
 )
 from great_expectations.expectations.metrics import (