Skip to content

Commit 952efa1

Browse files
committed
🧹 Add changes suggested by bots
1 parent eb5e8d7 commit 952efa1

5 files changed

Lines changed: 33 additions & 25 deletions

File tree

‎.github/workflows/test.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ jobs:
174174
run: uv pip list
175175

176176
- name: Run tests
177-
run: uv run --resolution lowest-direct pytest --nbval --cov=./ --cov-report term --cov-report xml --cov-config pyproject.toml tests
177+
run: uv run --resolution lowest-direct pytest --nbval --cov=pyglotaran_extras --cov-report term --cov-report xml --cov-config pyproject.toml tests
178178

179179
- name: Codecov Upload
180180
continue-on-error: true

‎CONTRIBUTING.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Ready to contribute? Here's how to set up `pyglotaran_extras` for local developm
7373

7474
```
7575
$ uv tool install pre-commit --with pre-commit-uv
76-
$ pre-commit install && pre-commit install
76+
$ pre-commit install
7777
```
7878

7979
5. Create a branch for local development:
@@ -102,7 +102,7 @@ Before you submit a pull request, check that it meets these guidelines:
102102
2. If the pull request adds functionality, the docs should be updated. Put
103103
your new functionality into a function with a docstring, and add the
104104
feature to the list in README.md.
105-
3. The pull request should work for Python 3.10 and 3.11. Check
105+
3. The pull request should work for Python 3.10, 3.11, 3.12, 3.13 and 3.14. Check
106106
<https://github.com/glotaran/pyglotaran-extras/actions>
107107
and make sure that the tests pass for all supported Python versions.
108108

@@ -111,5 +111,5 @@ Before you submit a pull request, check that it meets these guidelines:
111111
To run a subset of tests:
112112

113113
```
114-
$ uv run pytest tests.test_pyglotaran_extras
114+
$ uv run pytest tests/plotting
115115
```

‎docs/installation.md‎

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,21 @@
66

77
## Stable release
88

9-
To install pyglotaran_extras, run this command in your terminal:
9+
To install `pyglotaran_extras` for a new project, run this command in your terminal:
1010

1111
```console
12-
$ uv pip install pyglotaran_extras
12+
$ uv init --bare
13+
$ uv add pyglotaran_extras --dev
1314
```
1415

1516
This is the preferred method to install pyglotaran_extras, as it will always install the most recent stable release.
17+
Additionally this will create a `uv.lock` file allowing you to recreate and share the same environment you use by running `uv sync --frozen`.
18+
19+
Or if you have an existing project and environment
20+
21+
```console
22+
$ uv pip install
23+
```
1624

1725
If you don't have [uv] installed, see the [uv installation guide].
1826

‎justfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ test:
7878

7979
# Check code coverage and open HTML report
8080
cov:
81-
uv run pytest
81+
uv run pytest --cov=pyglotaran_extras --cov-report html
8282
@just _open-browser htmlcov/index.html
8383

8484
# ============================================================================

‎uv.lock‎

Lines changed: 18 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)