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/great_expectations/data_context/data_context/abstract_data_context.py b/great_expectations/data_context/data_context/abstract_data_context.py
--- a/great_expectations/data_context/data_context/abstract_data_context.py
+++ b/great_expectations/data_context/data_context/abstract_data_context.py
@@ -3688,6 +3688,7 @@ def profile_datasource(  # noqa: C901 - complexity 25
     @usage_statistics_enabled_method(
         event_name=UsageStatsEvents.DATA_CONTEXT_BUILD_DATA_DOCS,
     )
+    @public_api
     def build_data_docs(
         self,
         site_names=None,
@@ -3695,33 +3696,31 @@ def build_data_docs(
         dry_run=False,
         build_index: bool = True,
     ):
-        """
-        Build Data Docs for your project.
-
-        These make it simple to visualize data quality in your project. These
-        include Expectations, Validations & Profiles. The are built for all
-        Datasources from JSON artifacts in the local repo including validations
-        & profiles from the uncommitted directory.
-
-        :param site_names: if specified, build data docs only for these sites, otherwise,
-                            build all the sites specified in the context's config
-        :param resource_identifiers: a list of resource identifiers (ExpectationSuiteIdentifier,
-                            ValidationResultIdentifier). If specified, rebuild HTML
-                            (or other views the data docs sites are rendering) only for
-                            the resources in this list. This supports incremental build
-                            of data docs sites (e.g., when a new validation result is created)
-                            and avoids full rebuild.
-        :param dry_run: a flag, if True, the method returns a structure containing the
-                            URLs of the sites that *would* be built, but it does not build
-                            these sites. The motivation for adding this flag was to allow
-                            the CLI to display the the URLs before building and to let users
-                            confirm.
-
-        :param build_index: a flag if False, skips building the index page
+        """Build Data Docs for your project.
+
+        --Documentation--
+            - https://docs.greatexpectations.io/docs/terms/data_docs/
+
+        Args:
+            site_names: if specified, build data docs only for these sites, otherwise,
+                build all the sites specified in the context's config
+            resource_identifiers: a list of resource identifiers (ExpectationSuiteIdentifier,
+                ValidationResultIdentifier). If specified, rebuild HTML
+                (or other views the data docs sites are rendering) only for
+                the resources in this list. This supports incremental build
+                of data docs sites (e.g., when a new validation result is created)
+                and avoids full rebuild.
+            dry_run: a flag, if True, the method returns a structure containing the
+                URLs of the sites that *would* be built, but it does not build
+                these sites.
+            build_index: a flag if False, skips building the index page
 
         Returns:
             A dictionary with the names of the updated data documentation sites as keys and the the location info
             of their index.html files as values
+
+        Raises:
+            ClassInstantiationError: Site config in your Data Context config is not valid.
         """
         logger.debug("Starting DataContext.build_data_docs")
 


Test patch: