Skip to content

Commit e52a633

Browse files
authored
Merge pull request #11 from pharmaverse/main
Synchronize changes until v0.1.9
2 parents 6dd6887 + ad3cd7b commit e52a633

File tree

13 files changed

+368
-203
lines changed

13 files changed

+368
-203
lines changed

.github/workflows/ci-tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
name: CI tests
2+
13
on:
24
push:
35
branches:
@@ -6,8 +8,6 @@ on:
68
branches:
79
- main
810

9-
name: CI Tests
10-
1111
jobs:
1212
build:
1313
runs-on: ubuntu-latest
@@ -17,7 +17,7 @@ jobs:
1717
fail-fast: false
1818

1919
steps:
20-
- uses: actions/checkout@v5
20+
- uses: actions/checkout@v6
2121
- name: Set up Python ${{ matrix.python-version }}
2222
uses: actions/setup-python@v6
2323
with:
@@ -42,7 +42,7 @@ jobs:
4242
test-windows:
4343
runs-on: windows-latest
4444
steps:
45-
- uses: actions/checkout@v5
45+
- uses: actions/checkout@v6
4646
- name: Set up Python
4747
uses: actions/setup-python@v6
4848
with:

.github/workflows/mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
deploy:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v5
15+
- uses: actions/checkout@v6
1616
- name: Configure Git Credentials
1717
run: |
1818
git config user.name github-actions[bot]

.github/workflows/mypy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,20 @@ on:
66
- main
77
pull_request:
88
branches:
9-
- '**'
9+
- "**"
1010

1111
jobs:
1212
mypy:
1313
runs-on: ubuntu-latest
1414

1515
steps:
1616
- name: Checkout repository
17-
uses: actions/checkout@v5
17+
uses: actions/checkout@v6
1818

1919
- name: Set up Python
2020
uses: actions/setup-python@v6
2121
with:
22-
python-version: 3.14.0
22+
python-version: "3.14"
2323

2424
- name: Install uv
2525
run: |

.github/workflows/ruff-check.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Ruff check
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- "**"
10+
11+
jobs:
12+
ruff-check:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v6
16+
- name: Install Python
17+
uses: actions/setup-python@v6
18+
with:
19+
python-version: "3.14"
20+
- name: Install dependencies
21+
run: |
22+
python -m pip install --upgrade pip
23+
pip install ruff
24+
- name: Run Ruff
25+
run: ruff check --output-format=github .

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# Changelog
22

3+
## py-pkglite 0.1.9
4+
5+
### Documentation
6+
7+
- Improved installation instructions in `README.md` by adding explicit
8+
`pipx` installation command and adding option to use `uvx` to try the
9+
CLI tool without installing it (#53).
10+
11+
### Maintenance
12+
13+
- Added GitHub Actions workflow to run `ruff check` for code linting (#55).
14+
- Updated GitHub Actions workflows to use `actions/checkout@v6` (#55).
15+
- Updated badges in `README.md` (#55).
16+
317
## py-pkglite 0.1.8
418

519
### Linting

README.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
[![PyPI version](https://img.shields.io/pypi/v/pkglite)](https://pypi.org/project/pkglite/)
44
![Python versions](https://img.shields.io/pypi/pyversions/pkglite)
55
[![pharmaverse py-pkglite badge](http://pharmaverse.org/shields/pkglite.svg)](https://pharmaverse.org)
6-
[![Checked with mypy](https://www.mypy-lang.org/static/mypy_badge.svg)](https://mypy-lang.org/)
7-
[![CI Tests](https://github.com/pharmaverse/py-pkglite/actions/workflows/ci-tests.yml/badge.svg)](https://github.com/pharmaverse/py-pkglite/actions/workflows/ci-tests.yml)
6+
[![CI tests](https://github.com/pharmaverse/py-pkglite/actions/workflows/ci-tests.yml/badge.svg)](https://github.com/pharmaverse/py-pkglite/actions/workflows/ci-tests.yml)
7+
[![Mypy check](https://github.com/pharmaverse/py-pkglite/actions/workflows/mypy.yml/badge.svg)](https://github.com/pharmaverse/py-pkglite/actions/workflows/mypy.yml)
8+
[![Ruff check](https://github.com/pharmaverse/py-pkglite/actions/workflows/ruff-check.yml/badge.svg)](https://github.com/pharmaverse/py-pkglite/actions/workflows/ruff-check.yml)
89
[![mkdocs](https://github.com/pharmaverse/py-pkglite/actions/workflows/mkdocs.yml/badge.svg)](https://pharmaverse.github.io/py-pkglite/)
910
![License](https://img.shields.io/pypi/l/pkglite)
1011

@@ -30,7 +31,18 @@ python3 -m pip install -e .
3031
```
3132

3233
To install the command line tool globally,
33-
[use pipx](https://packaging.python.org/en/latest/guides/installing-stand-alone-command-line-tools/).
34+
[use pipx](https://packaging.python.org/en/latest/guides/installing-stand-alone-command-line-tools/):
35+
36+
```bash
37+
pipx install pkglite
38+
```
39+
40+
You can also use `uvx` to [try the tool without installing
41+
it](https://docs.astral.sh/uv/guides/tools/):
42+
43+
```bash
44+
uvx pkglite --help
45+
```
3446

3547
## Usage
3648

docs/changelog.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# Changelog
22

3+
## py-pkglite 0.1.9
4+
5+
### Documentation
6+
7+
- Improved installation instructions in `README.md` by adding explicit
8+
`pipx` installation command and adding option to use `uvx` to try the
9+
CLI tool without installing it (#53).
10+
11+
### Maintenance
12+
13+
- Added GitHub Actions workflow to run `ruff check` for code linting (#55).
14+
- Updated GitHub Actions workflows to use `actions/checkout@v6` (#55).
15+
- Updated badges in `README.md` (#55).
16+
317
## py-pkglite 0.1.8
418

519
### Linting

docs/index.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
[![PyPI version](https://img.shields.io/pypi/v/pkglite)](https://pypi.org/project/pkglite/)
44
![Python versions](https://img.shields.io/pypi/pyversions/pkglite)
55
[![pharmaverse py-pkglite badge](http://pharmaverse.org/shields/pkglite.svg)](https://pharmaverse.org)
6-
[![Checked with mypy](https://www.mypy-lang.org/static/mypy_badge.svg)](https://mypy-lang.org/)
7-
[![CI Tests](https://github.com/pharmaverse/py-pkglite/actions/workflows/ci-tests.yml/badge.svg)](https://github.com/pharmaverse/py-pkglite/actions/workflows/ci-tests.yml)
6+
[![CI tests](https://github.com/pharmaverse/py-pkglite/actions/workflows/ci-tests.yml/badge.svg)](https://github.com/pharmaverse/py-pkglite/actions/workflows/ci-tests.yml)
7+
[![Mypy check](https://github.com/pharmaverse/py-pkglite/actions/workflows/mypy.yml/badge.svg)](https://github.com/pharmaverse/py-pkglite/actions/workflows/mypy.yml)
8+
[![Ruff check](https://github.com/pharmaverse/py-pkglite/actions/workflows/ruff-check.yml/badge.svg)](https://github.com/pharmaverse/py-pkglite/actions/workflows/ruff-check.yml)
89
[![mkdocs](https://github.com/pharmaverse/py-pkglite/actions/workflows/mkdocs.yml/badge.svg)](https://pharmaverse.github.io/py-pkglite/)
910
![License](https://img.shields.io/pypi/l/pkglite)
1011

@@ -30,7 +31,18 @@ python3 -m pip install -e .
3031
```
3132

3233
To install the command line tool globally,
33-
[use pipx](https://packaging.python.org/en/latest/guides/installing-stand-alone-command-line-tools/).
34+
[use pipx](https://packaging.python.org/en/latest/guides/installing-stand-alone-command-line-tools/):
35+
36+
```bash
37+
pipx install pkglite
38+
```
39+
40+
You can also use `uvx` to [try the tool without installing
41+
it](https://docs.astral.sh/uv/guides/tools/):
42+
43+
```bash
44+
uvx pkglite --help
45+
```
3446

3547
## Usage
3648

docs/overrides/main.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{% extends "base.html" %}
2+
3+
{% block announce %}
4+
Learn how to create clinical study reports and eCTD submissions with Python at
5+
<a href="https://pycsr.org">
6+
<strong>pycsr.org</strong>
7+
</a>
8+
{% endblock %}

docs/stylesheets/extra.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,9 @@ code {
6767
.md-typeset .admonition,
6868
.md-typeset details {
6969
font-size: 0.85rem;
70+
}
71+
72+
.md-banner {
73+
color: var(--md-typeset-color);
74+
background-color: oklch(96.2% 0.059 95.617);
7075
}

0 commit comments

Comments
 (0)