Skip to content

Commit

Permalink
E501
Browse files Browse the repository at this point in the history
  • Loading branch information
horta committed Feb 18, 2018
1 parent 08f365b commit b61bf29
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion glimix_core/lmm/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ def __init__(self, y, X, QS):
y = asarray(y, float).ravel()
X = atleast_2d(asarray(X, float).T).T
if not npy_all(isfinite(X)):
raise ValueError("Not all values are finite in the covariates matrix.")
msg = "Not all values are finite in the covariates matrix."
raise ValueError(msg)

if not npy_all(isfinite(y)):
raise ValueError(
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@ addopts =
--ignore="doc/conf.py"
doctest_optionflags = ELLIPSIS
norecursedirs = .eggs .git *.egg-info build .ropeproject
pep8ignore = E402 E501
pep8ignore = E402

0 comments on commit b61bf29

Please sign in to comment.