Skip to content

Commit

Permalink
chore: Update mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
riddell-stan committed Feb 15, 2022
1 parent fdf77c3 commit f844fe4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ autoflake = "^1.4"
black = "22.1.0"
isort = "^5.9"
mypy = "0.910"
types-setuptools = "^57.4"
flake8 = "^3.9"
# documentation
sphinx = "^3.5"
Expand Down
2 changes: 1 addition & 1 deletion stan/fit.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def __init__(
draw_index += 1
assert draw_index == num_samples_saved
assert self.sample_and_sampler_param_names and self._draws.size
self._draws.flags["WRITEABLE"] = False
self._draws.flags["WRITEABLE"] = False # type: ignore

def __contains__(self, key):
return key in self.param_names
Expand Down

0 comments on commit f844fe4

Please sign in to comment.