Skip to content

Commit

Permalink
Merge pull request #230 from jorenham:feature/pyright-1.1.364
Browse files Browse the repository at this point in the history
bump pyright to 1.1.364
  • Loading branch information
jorenham authored May 22, 2024
2 parents 56484b1 + bb484ee commit 0b0e611
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 31 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,6 @@ repos:
args: [--fix, --exit-non-zero-on-fix]

- repo: https://github.com/RobertCraigie/pyright-python
rev: v1.1.363
rev: v1.1.364
hooks:
- id: pyright
3 changes: 1 addition & 2 deletions lmo/pwm_beta.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ def cov(
r: _R,
/,
axis: None = ...,
*,
dtype: _DType[_F] = np.float64,
**kwds: Any,
) -> lnpt.Array[tuple[_R, _R], _F]: ...
Expand Down Expand Up @@ -119,7 +118,7 @@ def cov(
r: The amount of orders to evaluate, i.e. $k = 0, \dots, r - 1$.
axis: The axis along which to calculate the covariance matrices.
dtype: Desired output floating data type.
**kwargs: Additional keywords to pass to `lmo.stats.ordered`.
**kwds: Additional keywords to pass to `lmo.stats.ordered`.
Returns:
S_b: Variance-covariance matrix/tensor of shape `(r, r)` or (r, r, n)
Expand Down
45 changes: 20 additions & 25 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,15 @@ optype = "^0.4.0"
codespell = "^2.2.6"
hypothesis = {version = "^6.102.4", extras = ["numpy"]}
pre-commit = "^3.7.1"
pyright = "^1.1.363"
pytest = "^8.2.0"
pyright = "^1.1.364"
pytest = "^8.2.1"
pytest-doctestplus = "^1.2.1"
ruff = "^0.4.4"
tomli = {version = "^2.0.1", python = "<3.11"}

[tool.poetry.group.docs.dependencies]
mkdocs = "^1.6.0"
mkdocs-material = "^9.5.23"
mkdocs-material = "^9.5.24"
mkdocs-include-markdown-plugin = "^6.0.6"
mkdocstrings = {version = "^0.25.1", extras = ["python"]}
mkdocs-git-revision-date-localized-plugin = "^1.2.5"
Expand Down

0 comments on commit 0b0e611

Please sign in to comment.