Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,4 @@

Please confirm that this pull request has done the following:

- [ ] Tests added
- [ ] Documentation added (where applicable)
- [ ] Changelog item added to `changelog/`
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
uv build
- name: Check build
run: |
tar -tvf dist/mkdocstrings_python_accessors-*.tar.gz --wildcards '*mkdocstrings_python_accessors/py.typed'
tar -tvf dist/mkdocstrings_python_accessors-*.tar.gz --wildcards '*mkdocstrings_handlers/python_accessors/py.typed'
tar -tvf dist/mkdocstrings_python_accessors-*.tar.gz --wildcards 'mkdocstrings_python_accessors-*/LICENCE'

check-dependency-licences:
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*.ipynb

# Lock file
pdm.lock
uv.lock
# Associated requirements file
requirements.txt

Expand Down
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,11 @@
Support for documenting accessors with mkdocstrings.

**Key info :**
[![Docs](https://readthedocs.org/projects/mkdocstrings-python-accessors/badge/?version=latest)](https://mkdocstrings-python-accessors.readthedocs.io)
[![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)
[![Licence](https://img.shields.io/pypi/l/mkdocstrings-python-accessors?label=licence)](https://github.com/climate-resource/mkdocstrings-python-accessors/blob/main/LICENCE)

**PyPI :**
[![PyPI](https://img.shields.io/pypi/v/mkdocstrings-python-accessors.svg)](https://pypi.org/project/mkdocstrings-python-accessors/)
[![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)

**Tests :**
[![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)
Expand Down
1 change: 1 addition & 0 deletions changelog/1.trivial.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Initial release.
11 changes: 10 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[project]
name = "mkdocstrings-python-accessors"
description = "A Python accessor handler for mkdocstrings."
version = "0.1.0a1"
description = "Support for documenting accessors with mkdocstrings."
authors = [
Expand Down Expand Up @@ -52,6 +51,11 @@ dev = [
# ----------------
"liccheck==0.9.2",
"mypy==1.14.0",
# Required for liccheck, see https://github.com/dhatim/python-license-check/pull/113
"pip==24.3.1",
"pre-commit==4.0.1",
# Required for liccheck, see https://github.com/dhatim/python-license-check/pull/113
"setuptools==75.6.0",
"towncrier==24.8.0",
]
all-dev = [
Expand Down Expand Up @@ -165,6 +169,8 @@ authorized_licenses = [
"Apache License, Version 2.0",
"CMU License (MIT-CMU)",
"Historical Permission Notice and Disclaimer (HPND)",
# TODO: push upstream
"isc",
"isc license",
"isc license (iscl)",
"gnu lgpl",
Expand All @@ -190,3 +196,6 @@ unauthorized_licenses = [
"gpl v1",
"gplv1",
]
[tool.liccheck.authorized_packages]
# Apache, just mislabelled (see https://github.com/analog-garage/mkdocstrings-python-xref/blob/main/LICENSE.md)
mkdocstrings-python-xref = "1.*"
Loading