From 018a88e29c40a899328d86934fc2ae4289a71f96 Mon Sep 17 00:00:00 2001 From: AFg6K7h4fhy2 <127630341+AFg6K7h4fhy2@users.noreply.github.com> Date: Thu, 29 Aug 2024 17:10:24 -0400 Subject: [PATCH] remove UTF-8 encoding headers --- pyrenew/convolve.py | 2 -- pyrenew/deterministic/__init__.py | 2 -- pyrenew/deterministic/deterministic.py | 1 - pyrenew/deterministic/deterministicpmf.py | 1 - pyrenew/distutil.py | 2 -- pyrenew/latent/__init__.py | 2 -- pyrenew/latent/hospitaladmissions.py | 1 - pyrenew/latent/infection_functions.py | 1 - pyrenew/latent/infection_initialization_method.py | 1 - pyrenew/latent/infection_initialization_process.py | 1 - pyrenew/latent/infections.py | 1 - pyrenew/latent/infectionswithfeedback.py | 1 - pyrenew/math.py | 2 -- pyrenew/mcmcutils.py | 2 -- pyrenew/metaclass.py | 2 -- pyrenew/model/__init__.py | 2 -- pyrenew/model/admissionsmodel.py | 1 - pyrenew/model/rtinfectionsrenewalmodel.py | 1 - pyrenew/observation/__init__.py | 2 -- pyrenew/observation/negativebinomial.py | 1 - pyrenew/observation/poisson.py | 1 - pyrenew/process/__init__.py | 2 -- pyrenew/process/ar.py | 1 - pyrenew/process/differencedprocess.py | 1 - pyrenew/process/iidrandomsequence.py | 1 - pyrenew/process/randomwalk.py | 1 - pyrenew/randomvariable/__init__.py | 2 -- pyrenew/regression.py | 2 -- test/test_latent_admissions.py | 1 - test/test_latent_infections.py | 1 - test/test_leslie_matrix.py | 1 - test/test_logistic_susceptibility_adjustment.py | 1 - test/test_model_basic_renewal.py | 1 - test/test_model_hosp_admissions.py | 1 - test/test_observation_negativebinom.py | 1 - test/test_observation_poisson.py | 1 - test/test_predictive.py | 2 -- test/test_process_asymptotics.py | 1 - test/test_random_key.py | 2 -- test/test_regression.py | 2 -- test/test_transformation.py | 2 -- test/test_transformed_rv_class.py | 2 -- test/utils.py | 2 -- 43 files changed, 61 deletions(-) diff --git a/pyrenew/convolve.py b/pyrenew/convolve.py index de98b04f..44d98e4c 100755 --- a/pyrenew/convolve.py +++ b/pyrenew/convolve.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - """ convolve diff --git a/pyrenew/deterministic/__init__.py b/pyrenew/deterministic/__init__.py index 83635649..0bde1e3e 100644 --- a/pyrenew/deterministic/__init__.py +++ b/pyrenew/deterministic/__init__.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - # numpydoc ignore=GL08 from pyrenew.deterministic.deterministic import DeterministicVariable diff --git a/pyrenew/deterministic/deterministic.py b/pyrenew/deterministic/deterministic.py index 13970e69..ad264570 100644 --- a/pyrenew/deterministic/deterministic.py +++ b/pyrenew/deterministic/deterministic.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # numpydoc ignore=GL08 from __future__ import annotations diff --git a/pyrenew/deterministic/deterministicpmf.py b/pyrenew/deterministic/deterministicpmf.py index 9763fd1b..daec0348 100644 --- a/pyrenew/deterministic/deterministicpmf.py +++ b/pyrenew/deterministic/deterministicpmf.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # numpydoc ignore=GL08 from __future__ import annotations diff --git a/pyrenew/distutil.py b/pyrenew/distutil.py index 206d3e80..315fc6b3 100755 --- a/pyrenew/distutil.py +++ b/pyrenew/distutil.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - """ distutil diff --git a/pyrenew/latent/__init__.py b/pyrenew/latent/__init__.py index 046160fd..0d8a553a 100644 --- a/pyrenew/latent/__init__.py +++ b/pyrenew/latent/__init__.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - # numpydoc ignore=GL08 from pyrenew.latent.hospitaladmissions import HospitalAdmissions diff --git a/pyrenew/latent/hospitaladmissions.py b/pyrenew/latent/hospitaladmissions.py index 55689b8b..57090528 100644 --- a/pyrenew/latent/hospitaladmissions.py +++ b/pyrenew/latent/hospitaladmissions.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # numpydoc ignore=GL08 from __future__ import annotations diff --git a/pyrenew/latent/infection_functions.py b/pyrenew/latent/infection_functions.py index e2861f38..5fdbff6b 100755 --- a/pyrenew/latent/infection_functions.py +++ b/pyrenew/latent/infection_functions.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # numpydoc ignore=GL08 from __future__ import annotations diff --git a/pyrenew/latent/infection_initialization_method.py b/pyrenew/latent/infection_initialization_method.py index 537c2ca5..f4a0c0e7 100644 --- a/pyrenew/latent/infection_initialization_method.py +++ b/pyrenew/latent/infection_initialization_method.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # numpydoc ignore=GL08 from abc import ABCMeta, abstractmethod diff --git a/pyrenew/latent/infection_initialization_process.py b/pyrenew/latent/infection_initialization_process.py index cb52698d..74f8cd1e 100644 --- a/pyrenew/latent/infection_initialization_process.py +++ b/pyrenew/latent/infection_initialization_process.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # numpydoc ignore=GL08 from pyrenew.latent.infection_initialization_method import ( InfectionInitializationMethod, diff --git a/pyrenew/latent/infections.py b/pyrenew/latent/infections.py index 06c93c53..ec8e6d74 100644 --- a/pyrenew/latent/infections.py +++ b/pyrenew/latent/infections.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # numpydoc ignore=GL08 from __future__ import annotations diff --git a/pyrenew/latent/infectionswithfeedback.py b/pyrenew/latent/infectionswithfeedback.py index f3d8ec8d..833087e2 100644 --- a/pyrenew/latent/infectionswithfeedback.py +++ b/pyrenew/latent/infectionswithfeedback.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # numpydoc ignore=GL08 from typing import NamedTuple diff --git a/pyrenew/math.py b/pyrenew/math.py index 29eb18b5..feaafe21 100755 --- a/pyrenew/math.py +++ b/pyrenew/math.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - """ Helper functions for doing analytical and/or numerical calculations about diff --git a/pyrenew/mcmcutils.py b/pyrenew/mcmcutils.py index 2e70ec14..f5f0c404 100644 --- a/pyrenew/mcmcutils.py +++ b/pyrenew/mcmcutils.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - """ Utilities to deal with MCMC outputs """ diff --git a/pyrenew/metaclass.py b/pyrenew/metaclass.py index ff71b683..00e85b43 100644 --- a/pyrenew/metaclass.py +++ b/pyrenew/metaclass.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - """ pyrenew helper classes """ diff --git a/pyrenew/model/__init__.py b/pyrenew/model/__init__.py index 44330c23..d30e0cc2 100644 --- a/pyrenew/model/__init__.py +++ b/pyrenew/model/__init__.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - # numpydoc ignore=GL08 from pyrenew.model.admissionsmodel import HospitalAdmissionsModel diff --git a/pyrenew/model/admissionsmodel.py b/pyrenew/model/admissionsmodel.py index 566783b0..1536ca79 100644 --- a/pyrenew/model/admissionsmodel.py +++ b/pyrenew/model/admissionsmodel.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # numpydoc ignore=GL08 from __future__ import annotations diff --git a/pyrenew/model/rtinfectionsrenewalmodel.py b/pyrenew/model/rtinfectionsrenewalmodel.py index 62cda6ff..fc8881dd 100644 --- a/pyrenew/model/rtinfectionsrenewalmodel.py +++ b/pyrenew/model/rtinfectionsrenewalmodel.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # numpydoc ignore=GL08 from __future__ import annotations diff --git a/pyrenew/observation/__init__.py b/pyrenew/observation/__init__.py index 5b4f7977..b0e04e69 100644 --- a/pyrenew/observation/__init__.py +++ b/pyrenew/observation/__init__.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - # numpydoc ignore=GL08 from pyrenew.observation.negativebinomial import NegativeBinomialObservation diff --git a/pyrenew/observation/negativebinomial.py b/pyrenew/observation/negativebinomial.py index bdc02265..2029eb24 100644 --- a/pyrenew/observation/negativebinomial.py +++ b/pyrenew/observation/negativebinomial.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # numpydoc ignore=GL08 from __future__ import annotations diff --git a/pyrenew/observation/poisson.py b/pyrenew/observation/poisson.py index 008c19b3..f9ee29d5 100644 --- a/pyrenew/observation/poisson.py +++ b/pyrenew/observation/poisson.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # numpydoc ignore=GL08 from __future__ import annotations diff --git a/pyrenew/process/__init__.py b/pyrenew/process/__init__.py index 638ea45d..b490575c 100644 --- a/pyrenew/process/__init__.py +++ b/pyrenew/process/__init__.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - # numpydoc ignore=GL08 from pyrenew.process.ar import ARProcess diff --git a/pyrenew/process/ar.py b/pyrenew/process/ar.py index feb10511..ea303dae 100644 --- a/pyrenew/process/ar.py +++ b/pyrenew/process/ar.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # numpydoc ignore=GL08 from __future__ import annotations diff --git a/pyrenew/process/differencedprocess.py b/pyrenew/process/differencedprocess.py index b19173f2..99cb87fc 100644 --- a/pyrenew/process/differencedprocess.py +++ b/pyrenew/process/differencedprocess.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # numpydoc ignore=GL08 from __future__ import annotations diff --git a/pyrenew/process/iidrandomsequence.py b/pyrenew/process/iidrandomsequence.py index 10adfa9c..5f64d7f1 100644 --- a/pyrenew/process/iidrandomsequence.py +++ b/pyrenew/process/iidrandomsequence.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # numpydoc ignore=GL08 import numpyro.distributions as dist diff --git a/pyrenew/process/randomwalk.py b/pyrenew/process/randomwalk.py index 6b0a763d..813f8cff 100644 --- a/pyrenew/process/randomwalk.py +++ b/pyrenew/process/randomwalk.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # numpydoc ignore=GL08 import numpyro.distributions as dist diff --git a/pyrenew/randomvariable/__init__.py b/pyrenew/randomvariable/__init__.py index 4f154b2d..c599d101 100644 --- a/pyrenew/randomvariable/__init__.py +++ b/pyrenew/randomvariable/__init__.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - # numpydoc ignore=GL08 from pyrenew.randomvariable.distributionalvariable import ( diff --git a/pyrenew/regression.py b/pyrenew/regression.py index ff38006a..9348958e 100755 --- a/pyrenew/regression.py +++ b/pyrenew/regression.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - """ Helper classes for regression problems """ diff --git a/test/test_latent_admissions.py b/test/test_latent_admissions.py index 1e82db89..c2a260f7 100644 --- a/test/test_latent_admissions.py +++ b/test/test_latent_admissions.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # numpydoc ignore=GL08 from test.utils import SimpleRt diff --git a/test/test_latent_infections.py b/test/test_latent_infections.py index 7fc500f5..f90819f2 100755 --- a/test/test_latent_infections.py +++ b/test/test_latent_infections.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # numpydoc ignore=GL08 from test.utils import SimpleRt diff --git a/test/test_leslie_matrix.py b/test/test_leslie_matrix.py index 25086188..36106853 100755 --- a/test/test_leslie_matrix.py +++ b/test/test_leslie_matrix.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # numpydoc ignore=GL08 import jax.numpy as jnp diff --git a/test/test_logistic_susceptibility_adjustment.py b/test/test_logistic_susceptibility_adjustment.py index 06442298..2f8edd3c 100755 --- a/test/test_logistic_susceptibility_adjustment.py +++ b/test/test_logistic_susceptibility_adjustment.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # numpydoc ignore=GL08 import jax.numpy as jnp diff --git a/test/test_model_basic_renewal.py b/test/test_model_basic_renewal.py index 1b0314f8..d83906cb 100644 --- a/test/test_model_basic_renewal.py +++ b/test/test_model_basic_renewal.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # numpydoc ignore=GL08 diff --git a/test/test_model_hosp_admissions.py b/test/test_model_hosp_admissions.py index f6d3d3a2..a67056ca 100644 --- a/test/test_model_hosp_admissions.py +++ b/test/test_model_hosp_admissions.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # numpydoc ignore=GL08 diff --git a/test/test_observation_negativebinom.py b/test/test_observation_negativebinom.py index d73a3ac4..77a6dcf1 100644 --- a/test/test_observation_negativebinom.py +++ b/test/test_observation_negativebinom.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # numpydoc ignore=GL08 import numpy as np diff --git a/test/test_observation_poisson.py b/test/test_observation_poisson.py index d5758583..4fb7f664 100644 --- a/test/test_observation_poisson.py +++ b/test/test_observation_poisson.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # numpydoc ignore=GL08 import jax.numpy as jnp diff --git a/test/test_predictive.py b/test/test_predictive.py index 636578bb..9e17a97a 100644 --- a/test/test_predictive.py +++ b/test/test_predictive.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - """ Ensures that posterior predictive samples are not generated when no posterior samples are available. diff --git a/test/test_process_asymptotics.py b/test/test_process_asymptotics.py index c50a5c92..25079c93 100755 --- a/test/test_process_asymptotics.py +++ b/test/test_process_asymptotics.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # numpydoc ignore=GL08 import jax.numpy as jnp diff --git a/test/test_random_key.py b/test/test_random_key.py index 0b99816f..a6be9a11 100644 --- a/test/test_random_key.py +++ b/test/test_random_key.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - """ Ensures that models created with the same or with different random keys behave appropriately. diff --git a/test/test_regression.py b/test/test_regression.py index 4713f546..cdb39e32 100755 --- a/test/test_regression.py +++ b/test/test_regression.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - """ Tests for regression functionality """ diff --git a/test/test_transformation.py b/test/test_transformation.py index b48d1a0d..834b1156 100644 --- a/test/test_transformation.py +++ b/test/test_transformation.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - """ Tests for transformations """ diff --git a/test/test_transformed_rv_class.py b/test/test_transformed_rv_class.py index 22dd1c2c..a3a9d44e 100644 --- a/test/test_transformed_rv_class.py +++ b/test/test_transformed_rv_class.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - """ Tests for TransformedVariable class """ diff --git a/test/utils.py b/test/utils.py index ac345b41..7a51e55c 100644 --- a/test/utils.py +++ b/test/utils.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - """ test utilities """