Skip to content

Commit

Permalink
Merge pull request #350 from jorenham/fix-tox
Browse files Browse the repository at this point in the history
fix tox config for uv
  • Loading branch information
jorenham authored Nov 20, 2024
2 parents c1adc8e + 127db72 commit 3ee1260
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
7 changes: 3 additions & 4 deletions docs/distributions.md
Original file line number Diff line number Diff line change
Expand Up @@ -719,8 +719,8 @@ Note that the GEV is effectively a reparametrized

### GLO

The GLO [@hosking1986], also known as the [shifted log-logistic distribution
](https://wikipedia.org/wiki/Shifted_log-logistic_distribution), with shape
The GLO [@hosking1986], also known as the
[shifted log-logistic distribution](https://w.wiki/C828), with shape
parameter \( \alpha \in \mathbb{R} \), is characterized by the following
distribution functions:

Expand Down Expand Up @@ -942,8 +942,7 @@ location \( \mu = 0 \), and scale \( \sigma = 1 \).
### Kumaraswamy

<!-- markdownlint-disable MD049 -->
For [Kumaraswamy's distribution
](https://wikipedia.org/wiki/Kumaraswamy_distribution) [@kumaraswamy1980]
For [Kumaraswamy's distribution](https://w.wiki/C82C) [@kumaraswamy1980]
with parameters \( \alpha \in \mathbb{R}_{>0} \) and
\( \beta \in \mathbb{R}_{>0} \), the general solution for the \( r \)th
untrimmed L-moment has been derived by M.C. Jones in 2009 [@jones2009].
Expand Down
18 changes: 9 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -270,20 +270,20 @@ env_list = ["repo-review", "pre-commit", "3.11", "3.12", "3.13"]
[tool.tox.env_run_base]
description = "test with {base_python}"
skip_install = true
allowlist_externals = ["poetry"]
commands_pre = [["poetry", "install", "--without=debug,docs"]]
commands = [["poetry", "run", "pytest"]]
allowlist_externals = ["uv"]
commands_pre = [["uv", "sync", "--frozen", "--dev"]]
commands = [["uv", "run", "pytest"]]

[tool.tox.env.pre-commit]
description = "pre-commit"
skip_install = true
allowlist_externals = ["poetry"]
commands_pre = [["poetry", "install", "--without=debug,docs", "--extras=typing"]]
commands = [["poetry", "run", "pre-commit", "run", "--all-files"]]
allowlist_externals = ["uv"]
commands_pre = [["uv", "sync", "--frozen", "--dev"]]
commands = [["uv", "run", "pre-commit", "run", "--all-files"]]

[tool.tox.env.repo-review]
description = "repo-review"
skip_install = true
allowlist_externals = ["poetry"]
commands_pre = [["poetry", "install", "--without=debug,docs"]]
commands = [["poetry", "run", "repo-review", "."]]
allowlist_externals = ["uv"]
commands_pre = [["uv", "sync", "--frozen", "--dev"]]
commands = [["uv", "run", "repo-review", "."]]

0 comments on commit 3ee1260

Please sign in to comment.