Skip to content

Commit 2b66afc

Browse files
authored
⬆️ UPGRADE: Autoupdate pre-commit config (#4556)
Co-authored-by: twiecki <[email protected]>
1 parent 1d1a371 commit 2b66afc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ repos:
1414
exclude: ^requirements-dev\.txt$
1515
- id: trailing-whitespace
1616
- repo: https://github.com/PyCQA/isort
17-
rev: 5.7.0
17+
rev: 5.8.0
1818
hooks:
1919
- id: isort
2020
name: isort
2121
- repo: https://github.com/asottile/pyupgrade
22-
rev: v2.10.0
22+
rev: v2.11.0
2323
hooks:
2424
- id: pyupgrade
2525
args: [--py37-plus]

pymc3/distributions/posterior_predictive.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ def __init__(self, vars, trace: _TraceDict, samples, model: Model | None, size=N
342342
self.size = size
343343
self.logger = logging.getLogger("posterior_predictive")
344344

345-
def __enter__(self) -> "_PosteriorPredictiveSampler":
345+
def __enter__(self) -> _PosteriorPredictiveSampler:
346346
self._tok = vectorized_ppc.set(posterior_predictive_draw_values)
347347
return self
348348

0 commit comments

Comments
 (0)