Skip to content

Commit 6396eda

Browse files
authored
Merge pull request #1 from climate-resource/check-ci-etc
Check runs
2 parents 1e34c4f + 8bf7099 commit 6396eda

6 files changed

Lines changed: 13 additions & 7 deletions

File tree

.github/pull_request_template.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,4 @@
44

55
Please confirm that this pull request has done the following:
66

7-
- [ ] Tests added
8-
- [ ] Documentation added (where applicable)
97
- [ ] Changelog item added to `changelog/`

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
uv build
5959
- name: Check build
6060
run: |
61-
tar -tvf dist/mkdocstrings_python_accessors-*.tar.gz --wildcards '*mkdocstrings_python_accessors/py.typed'
61+
tar -tvf dist/mkdocstrings_python_accessors-*.tar.gz --wildcards '*mkdocstrings_handlers/python_accessors/py.typed'
6262
tar -tvf dist/mkdocstrings_python_accessors-*.tar.gz --wildcards 'mkdocstrings_python_accessors-*/LICENCE'
6363
6464
check-dependency-licences:

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
*.ipynb
33

44
# Lock file
5-
pdm.lock
5+
uv.lock
66
# Associated requirements file
77
requirements.txt
88

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,11 @@
44
Support for documenting accessors with mkdocstrings.
55

66
**Key info :**
7-
[![Docs](https://readthedocs.org/projects/mkdocstrings-python-accessors/badge/?version=latest)](https://mkdocstrings-python-accessors.readthedocs.io)
87
[![Main branch: supported Python versions](https://img.shields.io/python/required-version-toml?tomlFilePath=https%3A%2F%2Fraw.githubusercontent.com%2Fclimate-resource%2Fmkdocstrings-python-accessors%2Fmain%2Fpyproject.toml)](https://github.com/climate-resource/mkdocstrings-python-accessors/blob/main/pyproject.toml)
98
[![Licence](https://img.shields.io/pypi/l/mkdocstrings-python-accessors?label=licence)](https://github.com/climate-resource/mkdocstrings-python-accessors/blob/main/LICENCE)
109

1110
**PyPI :**
1211
[![PyPI](https://img.shields.io/pypi/v/mkdocstrings-python-accessors.svg)](https://pypi.org/project/mkdocstrings-python-accessors/)
13-
[![PyPI install](https://github.com/climate-resource/mkdocstrings-python-accessors/actions/workflows/install-pypi.yaml/badge.svg?branch=main)](https://github.com/climate-resource/mkdocstrings-python-accessors/actions/workflows/install-pypi.yaml)
1412

1513
**Tests :**
1614
[![CI](https://github.com/climate-resource/mkdocstrings-python-accessors/actions/workflows/ci.yaml/badge.svg?branch=main)](https://github.com/climate-resource/mkdocstrings-python-accessors/actions/workflows/ci.yaml)

changelog/1.trivial.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Initial release.

pyproject.toml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
[project]
22
name = "mkdocstrings-python-accessors"
3-
description = "A Python accessor handler for mkdocstrings."
43
version = "0.1.0a1"
54
description = "Support for documenting accessors with mkdocstrings."
65
authors = [
@@ -52,6 +51,11 @@ dev = [
5251
# ----------------
5352
"liccheck==0.9.2",
5453
"mypy==1.14.0",
54+
# Required for liccheck, see https://github.com/dhatim/python-license-check/pull/113
55+
"pip==24.3.1",
56+
"pre-commit==4.0.1",
57+
# Required for liccheck, see https://github.com/dhatim/python-license-check/pull/113
58+
"setuptools==75.6.0",
5559
"towncrier==24.8.0",
5660
]
5761
all-dev = [
@@ -165,6 +169,8 @@ authorized_licenses = [
165169
"Apache License, Version 2.0",
166170
"CMU License (MIT-CMU)",
167171
"Historical Permission Notice and Disclaimer (HPND)",
172+
# TODO: push upstream
173+
"isc",
168174
"isc license",
169175
"isc license (iscl)",
170176
"gnu lgpl",
@@ -190,3 +196,6 @@ unauthorized_licenses = [
190196
"gpl v1",
191197
"gplv1",
192198
]
199+
[tool.liccheck.authorized_packages]
200+
# Apache, just mislabelled (see https://github.com/analog-garage/mkdocstrings-python-xref/blob/main/LICENSE.md)
201+
mkdocstrings-python-xref = "1.*"

0 commit comments

Comments
 (0)