Skip to content

Fix class style #321

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

Merged
merged 1 commit into from
Aug 4, 2017
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: 1 addition & 1 deletion quantecon/arma.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from scipy.signal import dimpulse, freqz, dlsim


class ARMA(object):
class ARMA:
r"""
This class represents scalar ARMA(p, q) processes.

Expand Down
2 changes: 1 addition & 1 deletion quantecon/discrete_rv.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from numpy.random import uniform


class DiscreteRV(object):
class DiscreteRV:
"""
Generates an array of draws from a discrete random variable with
vector of probabilities given by q.
Expand Down
2 changes: 1 addition & 1 deletion quantecon/distributions.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from scipy.special import binom, beta


class BetaBinomial(object):
class BetaBinomial:
"""
The Beta-Binomial distribution

Expand Down
2 changes: 1 addition & 1 deletion quantecon/ecdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import numpy as np


class ECDF(object):
class ECDF:
"""
One-dimensional empirical distribution function given a vector of
observations.
Expand Down
4 changes: 2 additions & 2 deletions quantecon/game_theory/normal_form_game.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
from ..util import check_random_state


class Player(object):
class Player:
"""
Class representing a player in an N-player normal form game.

Expand Down Expand Up @@ -381,7 +381,7 @@ def random_choice(self, actions=None, random_state=None):
return idx


class NormalFormGame(object):
class NormalFormGame:
"""
Class representing an N-player normal form game.

Expand Down
2 changes: 1 addition & 1 deletion quantecon/graph_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def new_func(self):
return new_func


class DiGraph(object):
class DiGraph:
r"""
Class for a directed graph. It stores useful information about the
graph structure such as strong connectivity [1]_ and periodicity
Expand Down
2 changes: 1 addition & 1 deletion quantecon/kalman.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from quantecon.matrix_eqn import solve_discrete_riccati


class Kalman(object):
class Kalman:
r"""
Implements the Kalman filter for the Gaussian state space model

Expand Down
2 changes: 1 addition & 1 deletion quantecon/lae.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import numpy as np


class LAE(object):
class LAE:
"""
An instance is a representation of a look ahead estimator associated
with a given stochastic kernel p and a vector of observations X.
Expand Down
2 changes: 1 addition & 1 deletion quantecon/lqcontrol.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from .matrix_eqn import solve_discrete_riccati


class LQ(object):
class LQ:
r"""
This class is for analyzing linear quadratic optimal control
problems of either the infinite horizon form
Expand Down
2 changes: 1 addition & 1 deletion quantecon/lss.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def simulate_linear_model(A, x0, v, ts_length):
return x


class LinearStateSpace(object):
class LinearStateSpace:
r"""
A class that describes a Gaussian linear state space model of the
form:
Expand Down
2 changes: 1 addition & 1 deletion quantecon/markov/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
from ..util import searchsorted, check_random_state


class MarkovChain(object):
class MarkovChain:
"""
Class for a finite-state discrete-time Markov chain. It stores
useful information such as the stationary distributions, and
Expand Down
2 changes: 1 addition & 1 deletion quantecon/markov/ddp.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
from .core import MarkovChain


class DiscreteDP(object):
class DiscreteDP:
r"""
Class for dealing with a discrete dynamic program.

Expand Down
2 changes: 1 addition & 1 deletion quantecon/robustlq.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from .matrix_eqn import solve_discrete_lyapunov


class RBLQ(object):
class RBLQ:
r"""
Provides methods for analysing infinite horizon robust LQ control
problems of the form
Expand Down