Skip to content

SUMM: Unused/unmaintained __main__sections #5128

Closed

Description

@jbrockmendel

#3515 (comment)

Searching 1493 files for "__main__" (regex, case sensitive)

  • setup.py
  • statsmodels/base/tests/test_data.py
  • statsmodels/base/tests/test_shrink_pickle.py
  • statsmodels/base/wrapper.py
  • statsmodels/compat/tests/test_itercompat.py
  • statsmodels/discrete/tests/test_discrete.py
  • statsmodels/discrete/tests/test_sandwich_cov.py
  • statsmodels/distributions/edgeworth.py
  • statsmodels/distributions/empirical_distribution.py
  • statsmodels/distributions/mixture_rvs.py
  • statsmodels/distributions/tests/test_discrete.py
  • statsmodels/distributions/tests/test_edgeworth.py
  • statsmodels/distributions/tests/test_mixture.py
  • statsmodels/duration/tests/test_phreg.py
  • statsmodels/examples/ex_kernel_regression2.py
  • statsmodels/examples/ex_kernel_regression3.py
  • statsmodels/examples/ex_kernel_regression_censored2.py
  • statsmodels/examples/ex_kernel_regression_dgp.py
  • statsmodels/examples/ex_kernel_regression_sigtest.py
  • statsmodels/examples/ex_kernel_semilinear_dgp.py
  • statsmodels/examples/ex_kernel_singleindex_dgp.py
  • statsmodels/examples/ex_kernel_test_functional.py
  • statsmodels/examples/ex_kernel_test_functional_li_wang.py
  • statsmodels/examples/ex_multivar_kde.py
  • statsmodels/examples/ex_outliers_influence.py
  • statsmodels/examples/ex_pairwise.py
  • statsmodels/examples/ex_rootfinding.py
  • statsmodels/examples/l1_demo/demo.py
  • statsmodels/examples/try_fit_constrained.py
  • statsmodels/examples/try_power2.py
  • statsmodels/genmod/_tweedie_compound_poisson.py
  • statsmodels/genmod/families/tests/test_link.py
  • statsmodels/genmod/generalized_linear_model.py
  • statsmodels/genmod/tests/gee_categorical_simulation_check.py
  • statsmodels/genmod/tests/gee_gaussian_simulation_check.py
  • statsmodels/genmod/tests/gee_poisson_simulation_check.py
  • statsmodels/genmod/tests/results/gee_generate_tests.py
  • statsmodels/genmod/tests/test_glm.py
  • statsmodels/graphics/tests/test_mosaicplot.py
  • statsmodels/graphics/tests/test_regressionplots.py
  • statsmodels/imputation/tests/test_mice.py
  • statsmodels/iolib/foreign.py
  • statsmodels/iolib/summary.py
  • statsmodels/iolib/tests/test_foreign.py
  • statsmodels/iolib/tests/test_summary.py
  • statsmodels/miscmodels/nonlinls.py
  • statsmodels/miscmodels/try_mlecov.py
  • statsmodels/nonparametric/kde.py
  • statsmodels/nonparametric/tests/test_bandwidths.py
  • statsmodels/nonparametric/tests/test_kde.py
  • statsmodels/nonparametric/tests/test_kernel_density.py
  • statsmodels/nonparametric/tests/test_kernel_regression.py
  • statsmodels/nonparametric/tests/test_kernels.py
  • statsmodels/nonparametric/tests/test_lowess.py
  • statsmodels/regression/linear_model.py
  • statsmodels/regression/tests/test_glsar_gretl.py
  • statsmodels/regression/tests/test_glsar_stata.py
  • statsmodels/robust/robust_linear_model.py
  • statsmodels/stats/_adnorm.py
  • statsmodels/stats/anova.py
  • statsmodels/stats/descriptivestats.py
  • statsmodels/stats/libqsturng/tests/test_qsturng.py
  • statsmodels/stats/tabledist.py
  • statsmodels/stats/tests/test_anova.py
  • statsmodels/stats/tests/test_diagnostic.py
  • statsmodels/stats/tests/test_groups_sw.py
  • statsmodels/stats/tests/test_moment_helpers.py
  • statsmodels/stats/tests/test_power.py
  • statsmodels/stats/tests/test_proportion.py
  • statsmodels/stats/tests/test_sandwich.py
  • statsmodels/stats/tests/test_statstools.py
  • statsmodels/stats/tests/test_tost.py
  • statsmodels/tools/catadd.py
  • statsmodels/tools/dump2module.py
  • statsmodels/tools/grouputils.py
  • statsmodels/tools/numdiff.py
  • statsmodels/tools/print_version.py
  • statsmodels/tools/tests/test_catadd.py
  • statsmodels/tools/tests/test_eval_measures.py
  • statsmodels/tools/tests/test_numdiff.py
  • statsmodels/tsa/ar_model.py
  • statsmodels/tsa/arima_model.py
  • statsmodels/tsa/base/tsa_model.py
  • statsmodels/tsa/coint_tables.py
  • statsmodels/tsa/filters/cf_filter.py
  • statsmodels/tsa/filters/tests/test_filters.py
  • statsmodels/tsa/interp/denton.py
  • statsmodels/tsa/interp/tests/test_denton.py
  • statsmodels/tsa/kalmanf/kalmanfilter.py
  • statsmodels/tsa/seasonal.py
  • statsmodels/tsa/tests/test_tsa_tools.py
  • statsmodels/tsa/varma_process.py
  • statsmodels/tsa/vector_ar/dynamic.py
  • statsmodels/tsa/vector_ar/var_model.py

Some of these are in test files and are harmless-albeit-annoying.

Activity

  1. changed the title [-]"I think outside of the sandbox almost all if __name__ == '__main__' should be gone by now."[/-] [+]Unused/unmaintained __main__sections[/+] on Sep 7, 2018
  2. changed the title [-]Unused/unmaintained __main__sections[/-] [+]SUMM: Unused/unmaintained __main__sections[/+] on Sep 8, 2018
  3. jbrockmendel commented on May 22, 2019

    @jbrockmendel
    ContributorAuthor

    Closing in favor of #5773.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions