diff --git a/cs-config/cs_config/helpers.py b/cs-config/cs_config/helpers.py index 170bc49d..b9bf36fe 100644 --- a/cs-config/cs_config/helpers.py +++ b/cs-config/cs_config/helpers.py @@ -1,6 +1,7 @@ """ Functions used to help OG-USA configure to COMP """ + try: import boto3 except ImportError: diff --git a/ogusa/demographics.py b/ogusa/demographics.py index d0b0cd82..24b5f129 100644 --- a/ogusa/demographics.py +++ b/ogusa/demographics.py @@ -4,6 +4,7 @@ model ------------------------------------------------------------------------ """ + # Import packages import os import numpy as np diff --git a/ogusa/estimate_beta_j.py b/ogusa/estimate_beta_j.py index e542fb42..6be10460 100644 --- a/ogusa/estimate_beta_j.py +++ b/ogusa/estimate_beta_j.py @@ -3,7 +3,6 @@ beta_j parameters for OG-USA. """ - import numpy as np import os import scipy.optimize as opt diff --git a/ogusa/get_micro_data.py b/ogusa/get_micro_data.py index 40c43946..82607495 100644 --- a/ogusa/get_micro_data.py +++ b/ogusa/get_micro_data.py @@ -4,6 +4,7 @@ model (Tax-Calculator). ------------------------------------------------------------------------ """ + from taxcalc import Records, Calculator, Policy from pandas import DataFrame from dask import delayed, compute diff --git a/ogusa/income.py b/ogusa/income.py index 267baba6..6953bc1a 100644 --- a/ogusa/income.py +++ b/ogusa/income.py @@ -5,6 +5,7 @@ percentiles, as it uses fitted polynomials to those percentiles. ----------------------------------------------------------------- """ + import numpy as np import scipy.optimize as opt import scipy.interpolate as si diff --git a/tests/test_run_example.py b/tests/test_run_example.py index e6698f42..a02808f8 100644 --- a/tests/test_run_example.py +++ b/tests/test_run_example.py @@ -3,6 +3,7 @@ work by making sure that it does not break (is still running) after 5 minutes (300 seconds). """ + import multiprocessing import time import os