Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove UTF-8 Encoding Headers #422

Merged
merged 1 commit into from
Aug 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions pyrenew/convolve.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

"""
convolve

Expand Down
2 changes: 0 additions & 2 deletions pyrenew/deterministic/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

# numpydoc ignore=GL08

from pyrenew.deterministic.deterministic import DeterministicVariable
Expand Down
1 change: 0 additions & 1 deletion pyrenew/deterministic/deterministic.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# numpydoc ignore=GL08

from __future__ import annotations
Expand Down
1 change: 0 additions & 1 deletion pyrenew/deterministic/deterministicpmf.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# numpydoc ignore=GL08

from __future__ import annotations
Expand Down
2 changes: 0 additions & 2 deletions pyrenew/distutil.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

"""
distutil

Expand Down
2 changes: 0 additions & 2 deletions pyrenew/latent/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

# numpydoc ignore=GL08

from pyrenew.latent.hospitaladmissions import HospitalAdmissions
Expand Down
1 change: 0 additions & 1 deletion pyrenew/latent/hospitaladmissions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# numpydoc ignore=GL08

from __future__ import annotations
Expand Down
1 change: 0 additions & 1 deletion pyrenew/latent/infection_functions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# numpydoc ignore=GL08

from __future__ import annotations
Expand Down
1 change: 0 additions & 1 deletion pyrenew/latent/infection_initialization_method.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# numpydoc ignore=GL08
from abc import ABCMeta, abstractmethod

Expand Down
1 change: 0 additions & 1 deletion pyrenew/latent/infection_initialization_process.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# numpydoc ignore=GL08
from pyrenew.latent.infection_initialization_method import (
InfectionInitializationMethod,
Expand Down
1 change: 0 additions & 1 deletion pyrenew/latent/infections.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# numpydoc ignore=GL08

from __future__ import annotations
Expand Down
1 change: 0 additions & 1 deletion pyrenew/latent/infectionswithfeedback.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# numpydoc ignore=GL08

from typing import NamedTuple
Expand Down
2 changes: 0 additions & 2 deletions pyrenew/math.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

"""
Helper functions for doing analytical
and/or numerical calculations about
Expand Down
2 changes: 0 additions & 2 deletions pyrenew/mcmcutils.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

"""
Utilities to deal with MCMC outputs
"""
Expand Down
2 changes: 0 additions & 2 deletions pyrenew/metaclass.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

"""
pyrenew helper classes
"""
Expand Down
2 changes: 0 additions & 2 deletions pyrenew/model/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

# numpydoc ignore=GL08

from pyrenew.model.admissionsmodel import HospitalAdmissionsModel
Expand Down
1 change: 0 additions & 1 deletion pyrenew/model/admissionsmodel.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# numpydoc ignore=GL08

from __future__ import annotations
Expand Down
1 change: 0 additions & 1 deletion pyrenew/model/rtinfectionsrenewalmodel.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# numpydoc ignore=GL08

from __future__ import annotations
Expand Down
2 changes: 0 additions & 2 deletions pyrenew/observation/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

# numpydoc ignore=GL08

from pyrenew.observation.negativebinomial import NegativeBinomialObservation
Expand Down
1 change: 0 additions & 1 deletion pyrenew/observation/negativebinomial.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# numpydoc ignore=GL08

from __future__ import annotations
Expand Down
1 change: 0 additions & 1 deletion pyrenew/observation/poisson.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# numpydoc ignore=GL08

from __future__ import annotations
Expand Down
2 changes: 0 additions & 2 deletions pyrenew/process/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

# numpydoc ignore=GL08

from pyrenew.process.ar import ARProcess
Expand Down
1 change: 0 additions & 1 deletion pyrenew/process/ar.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# numpydoc ignore=GL08

from __future__ import annotations
Expand Down
1 change: 0 additions & 1 deletion pyrenew/process/differencedprocess.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# numpydoc ignore=GL08

from __future__ import annotations
Expand Down
1 change: 0 additions & 1 deletion pyrenew/process/iidrandomsequence.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# numpydoc ignore=GL08

import numpyro.distributions as dist
Expand Down
1 change: 0 additions & 1 deletion pyrenew/process/randomwalk.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# numpydoc ignore=GL08

import numpyro.distributions as dist
Expand Down
2 changes: 0 additions & 2 deletions pyrenew/randomvariable/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

# numpydoc ignore=GL08

from pyrenew.randomvariable.distributionalvariable import (
Expand Down
2 changes: 0 additions & 2 deletions pyrenew/regression.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

"""
Helper classes for regression problems
"""
Expand Down
1 change: 0 additions & 1 deletion test/test_latent_admissions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# numpydoc ignore=GL08

from test.utils import SimpleRt
Expand Down
1 change: 0 additions & 1 deletion test/test_latent_infections.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# numpydoc ignore=GL08

from test.utils import SimpleRt
Expand Down
1 change: 0 additions & 1 deletion test/test_leslie_matrix.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# numpydoc ignore=GL08

import jax.numpy as jnp
Expand Down
1 change: 0 additions & 1 deletion test/test_logistic_susceptibility_adjustment.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# numpydoc ignore=GL08

import jax.numpy as jnp
Expand Down
1 change: 0 additions & 1 deletion test/test_model_basic_renewal.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# numpydoc ignore=GL08


Expand Down
1 change: 0 additions & 1 deletion test/test_model_hosp_admissions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# numpydoc ignore=GL08


Expand Down
1 change: 0 additions & 1 deletion test/test_observation_negativebinom.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# numpydoc ignore=GL08

import numpy as np
Expand Down
1 change: 0 additions & 1 deletion test/test_observation_poisson.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# numpydoc ignore=GL08

import jax.numpy as jnp
Expand Down
2 changes: 0 additions & 2 deletions test/test_predictive.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

"""
Ensures that posterior predictive samples are not generated
when no posterior samples are available.
Expand Down
1 change: 0 additions & 1 deletion test/test_process_asymptotics.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# numpydoc ignore=GL08

import jax.numpy as jnp
Expand Down
2 changes: 0 additions & 2 deletions test/test_random_key.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

"""
Ensures that models created with the same or
with different random keys behave appropriately.
Expand Down
2 changes: 0 additions & 2 deletions test/test_regression.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

"""
Tests for regression functionality
"""
Expand Down
2 changes: 0 additions & 2 deletions test/test_transformation.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

"""
Tests for transformations
"""
Expand Down
2 changes: 0 additions & 2 deletions test/test_transformed_rv_class.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

"""
Tests for TransformedVariable class
"""
Expand Down
2 changes: 0 additions & 2 deletions test/utils.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

"""
test utilities
"""
Expand Down