updateCitation 0.2.0__tar.gz → 0.2.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. updatecitation-0.2.2/MANIFEST.in +3 -0
  2. {updatecitation-0.2.0 → updatecitation-0.2.2}/PKG-INFO +96 -97
  3. {updatecitation-0.2.0 → updatecitation-0.2.2}/README.md +94 -91
  4. updatecitation-0.2.2/pyproject.toml +293 -0
  5. {updatecitation-0.2.0 → updatecitation-0.2.2}/tests/conftest.py +7 -0
  6. updatecitation-0.2.2/tests/dataSamples/citationAlpha.cff +38 -0
  7. {updatecitation-0.2.0 → updatecitation-0.2.2/tests/dataSamples}/pyproject.toml +10 -8
  8. {updatecitation-0.2.0 → updatecitation-0.2.2}/tests/test_flowControl.py +34 -0
  9. {updatecitation-0.2.0 → updatecitation-0.2.2}/updateCitation/pypa.py +1 -0
  10. {updatecitation-0.2.0 → updatecitation-0.2.2}/updateCitation/variables.py +26 -9
  11. {updatecitation-0.2.0 → updatecitation-0.2.2}/updateCitation.egg-info/PKG-INFO +96 -97
  12. {updatecitation-0.2.0 → updatecitation-0.2.2}/updateCitation.egg-info/SOURCES.txt +3 -0
  13. {updatecitation-0.2.0 → updatecitation-0.2.2}/updateCitation.egg-info/requires.txt +0 -5
  14. updatecitation-0.2.2/updateCitation.egg-info/top_level.txt +1 -0
  15. updatecitation-0.2.0/updateCitation.egg-info/top_level.txt +0 -4
  16. {updatecitation-0.2.0 → updatecitation-0.2.2}/LICENSE +0 -0
  17. {updatecitation-0.2.0 → updatecitation-0.2.2}/setup.cfg +0 -0
  18. {updatecitation-0.2.0 → updatecitation-0.2.2}/tests/__init__.py +0 -0
  19. {updatecitation-0.2.0 → updatecitation-0.2.2}/tests/test_citationFileFormat.py +0 -0
  20. {updatecitation-0.2.0 → updatecitation-0.2.2}/tests/test_github.py +0 -0
  21. {updatecitation-0.2.0 → updatecitation-0.2.2}/tests/test_pypa.py +0 -0
  22. {updatecitation-0.2.0 → updatecitation-0.2.2}/tests/test_pypi.py +0 -0
  23. {updatecitation-0.2.0 → updatecitation-0.2.2}/tests/test_variables.py +0 -0
  24. {updatecitation-0.2.0 → updatecitation-0.2.2}/updateCitation/__init__.py +0 -0
  25. {updatecitation-0.2.0 → updatecitation-0.2.2}/updateCitation/_semiotics.py +0 -0
  26. {updatecitation-0.2.0 → updatecitation-0.2.2}/updateCitation/_theTypes.py +0 -0
  27. {updatecitation-0.2.0 → updatecitation-0.2.2}/updateCitation/citationFileFormat.py +0 -0
  28. {updatecitation-0.2.0 → updatecitation-0.2.2}/updateCitation/flowControl.py +0 -0
  29. {updatecitation-0.2.0 → updatecitation-0.2.2}/updateCitation/github.py +0 -0
  30. {updatecitation-0.2.0 → updatecitation-0.2.2}/updateCitation/py.typed +0 -0
  31. {updatecitation-0.2.0 → updatecitation-0.2.2}/updateCitation/pypi.py +0 -0
  32. {updatecitation-0.2.0 → updatecitation-0.2.2}/updateCitation/pyprojectDOTtoml.py +0 -0
  33. {updatecitation-0.2.0 → updatecitation-0.2.2}/updateCitation.egg-info/dependency_links.txt +0 -0
  34. {updatecitation-0.2.0 → updatecitation-0.2.2}/updateCitation.egg-info/entry_points.txt +0 -0
@@ -0,0 +1,3 @@
1
+ graft tests
2
+ prune tests/coverage
3
+ global-exclude __pycache__ *.py[cod]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: updateCitation
3
- Version: 0.2.0
3
+ Version: 0.2.2
4
4
  Summary: Automatically update citation files (CITATION.cff) in a GitHub repository from `pyproject.toml`, GitHub releases, and PyPI releases.
5
5
  Author-email: Hunter Hogan <HunterHogan@pm.me>
6
6
  License-Expression: CC-BY-NC-4.0
@@ -19,7 +19,7 @@ Classifier: Operating System :: OS Independent
19
19
  Classifier: Programming Language :: Python
20
20
  Classifier: Programming Language :: Python :: 3
21
21
  Classifier: Programming Language :: Python :: 3.10
22
- Classifier: Programming Language :: Python :: 3.14
22
+ Classifier: Programming Language :: Python :: 3.15
23
23
  Classifier: Topic :: Scientific/Engineering
24
24
  Classifier: Topic :: Software Development :: Documentation
25
25
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
@@ -36,31 +36,28 @@ Requires-Dist: pygithub
36
36
  Requires-Dist: ruamel.yaml
37
37
  Requires-Dist: tomli
38
38
  Requires-Dist: typing_extensions>=4.0.0
39
- Provides-Extra: testing
40
- Requires-Dist: pytest; extra == "testing"
41
- Requires-Dist: pytest-cov; extra == "testing"
42
- Requires-Dist: pytest-xdist; extra == "testing"
43
39
  Dynamic: license-file
44
40
 
41
+ <!-- path-sync copy -n hunterhogan -->
45
42
  # updateCitation
46
43
 
47
- Automatically update `CITATION.cff` from your Python project's `pyproject.toml`, GitHub release data, and PyPI release data.
44
+ Automatically update `CITATION.cff` from your Python project's `pyproject.toml`, GitHub release data when enabled, and PyPI release data when enabled.
48
45
 
49
- The easiest setup is one GitHub Actions file. You do not need to install updateCitation on your computer, and you do not need to add anything to `pyproject.toml` unless you want to change the defaults.
46
+ This README gives `updateCitation` specific commands and settings. For the surrounding tools, follow the tool maintainers' documentation: GitHub explains how [`CITATION.cff` files appear on GitHub](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-citation-files), Git explains [Git hooks](https://git-scm.com/docs/githooks), uv explains [`uv tool`](https://docs.astral.sh/uv/guides/tools/), `pre-commit` explains [`pre-commit`](https://pre-commit.com/), and PyPA explains [`pyproject.toml`](https://packaging.python.org/en/latest/guides/writing-pyproject-toml/).
50
47
 
51
48
  ## Quick Start
52
49
 
53
50
  Choose one of these:
54
51
 
55
- | Goal | Best choice | File you create |
56
- | ------------------------------------------------------- | ----------------- | -------------------------------------- |
57
- | GitHub updates `CITATION.cff` after you push a commit. | GitHub Action | `.github/workflows/updateCitation.yml` |
58
- | Update `CITATION.cff` on your computer before a commit. | `Git` hook | `.git/hooks/pre-commit` |
59
- | Add updateCitation to an existing `pre-commit` setup. | `pre-commit` hook | `.pre-commit-config.yaml` |
52
+ | Goal | Good fit | File you create |
53
+ | --------------------------------------------------------------------- | ----------------- | -------------------------------------- |
54
+ | GitHub updates `CITATION.cff` after pushes to a GitHub repository. | GitHub Action | `.github/workflows/updateCitation.yml` |
55
+ | One computer updates `CITATION.cff` before local commits, using uv. | `Git` hook | `.git/hooks/pre-commit` |
56
+ | A shared local hook is configured in the repository for contributors. | `pre-commit` hook | `.pre-commit-config.yaml` |
60
57
 
61
58
  ## Option: GitHub Action
62
59
 
63
- This is the simplest option. It runs on GitHub after you push.
60
+ This is usually the most portable option for a GitHub-hosted repository. The workflow file is committed to the repository, so the update runs on GitHub after pushes and collaborators do not need `updateCitation` installed on their computers. GitHub's [Actions quickstart](https://docs.github.com/en/actions/get-started/quickstart) explains GitHub Actions; the workflow below is the `updateCitation`-specific part.
64
61
 
65
62
  1. In the top level of your repository, create a folder named `.github`.
66
63
  2. Inside `.github`, create a folder named `workflows`.
@@ -91,13 +88,17 @@ jobs:
91
88
  run: pipx run updateCitation
92
89
  ```
93
90
 
94
- 5. Commit the file and push it to GitHub.
91
+ 1. Commit the file and push it to GitHub.
95
92
 
96
93
  If the default settings work for your project, you are done. You do not need a `[tool.updateCitation]` section in `pyproject.toml`.
97
94
 
98
95
  ## Option: Run Locally Before Pushing
99
96
 
100
- Running locally means `updateCitation` runs on your computer before changes are sent to GitHub. You can do this with a plain `Git` hook or with `pre-commit`.
97
+ Running locally means `updateCitation` runs on your computer before changes are sent to GitHub, GitLab, Codeberg, or another Git host. You can do this with a plain `Git` hook or with `pre-commit`.
98
+
99
+ A plain `Git` hook is local to one clone on one computer. The hook file lives inside `.git`, so it is not committed or shared with collaborators. The plain hook below uses [`uv tool`](https://docs.astral.sh/uv/guides/tools/), so you need [uv](https://docs.astral.sh/uv/) installed before using it. uv's own docs cover [uv installation](https://docs.astral.sh/uv/getting-started/installation/) and the details of managing tools with `uv tool`.
100
+
101
+ For a shared local setup, `pre-commit` is often the practical option. The `.pre-commit-config.yaml` file is committed to the repository, and each collaborator runs `pre-commit install` once after cloning. That makes `pre-commit` the local-hook option in this README that can be shared across users and across Git hosting services.
101
102
 
102
103
  ### Are you using `pre-commit`?
103
104
 
@@ -107,37 +108,41 @@ Look in the top directory of your repository.
107
108
  - If there is no `.pre-commit-config.yaml`, your project is probably not using `pre-commit` yet.
108
109
  - You can also run `pre-commit --version` in a terminal. If it prints a version number, the `pre-commit` program is installed on your computer.
109
110
 
110
- If your project already has `.pre-commit-config.yaml`, use the `pre-commit` instructions below. If not, the plain `Git` hook is usually simpler for one person.
111
+ If your project already has `.pre-commit-config.yaml`, use the `pre-commit` instructions below. If not, the plain `Git` hook may be enough for one user on one machine.
111
112
 
112
113
  ### `Git` Hook
113
114
 
114
- A `Git` hook runs when you commit. This file is local to your computer and is not uploaded to GitHub.
115
+ A `Git` hook runs when you commit. This file is local to your computer and is not uploaded to GitHub or another Git host.
115
116
 
116
- 1. In the top directory of your repository, open the hidden `.git` folder.
117
- 2. Inside `.git`, open the `hooks` folder.
118
- 3. Create a file named `pre-commit`.
119
- 4. Paste this into `.git/hooks/pre-commit`:
117
+ 1. Install `updateCitation` as a uv-managed tool:
118
+
119
+ ```bash
120
+ uv tool install updateCitation
121
+ ```
122
+
123
+ This installs `updateCitation` outside your project virtual environment. You do not need to add `updateCitation` to the repository's own dependencies for this plain Git hook.
124
+
125
+ 1. In the top directory of your repository, find or create the hidden `.git/hooks` folder, and find or create a file named `pre-commit`.
126
+ 2. Paste this into `.git/hooks/pre-commit`:
120
127
 
121
128
  ```bash
122
129
  #!/usr/bin/env bash
123
130
  set -euo pipefail
124
131
 
125
- pipx run updateCitation
132
+ updateCitation
126
133
  ```
127
134
 
128
- This example uses `pipx` so `updateCitation` does not have to be added to your project. If you use `uv`, replace `pipx run updateCitation` with `uv run updateCitation`. If you prefer `uvx`, replace it with `uvx updateCitation`.
129
-
130
- 5. On macOS or Linux, make the file executable:
135
+ 1. On macOS or Linux, make the file executable:
131
136
 
132
137
  ```bash
133
138
  chmod +x .git/hooks/pre-commit
134
139
  ```
135
140
 
136
- Now each `git commit` runs `updateCitation` before finalizing the commit. If `updateCitation` changes `CITATION.cff`, review the change, add it with `git add CITATION.cff`, and commit again.
141
+ Now each `git commit` runs `updateCitation`. If `updateCitation` changes `CITATION.cff`, review the change, add the changed citation file or files with `git add`, and commit again.
137
142
 
138
143
  ### `pre-commit` Hook
139
144
 
140
- Use this if your project already uses `pre-commit` or if you want a shared hook that collaborators can install.
145
+ Use this if your project already uses `pre-commit` or if you want a shared local hook that collaborators can install. The `pre-commit` documentation explains [repository-local hooks](https://pre-commit.com/#repository-local-hooks) and [`pre-commit install`](https://pre-commit.com/#pre-commit-install); the configuration below is the `updateCitation`-specific part.
141
146
 
142
147
  1. In the top directory of your repository, create a file named `.pre-commit-config.yaml`.
143
148
  2. Paste this into `.pre-commit-config.yaml`:
@@ -148,15 +153,18 @@ repos:
148
153
  hooks:
149
154
  - id: updatecitation
150
155
  name: updateCitation
151
- entry: pipx run updateCitation
152
- language: system
156
+ entry: updateCitation
157
+ language: python
158
+ additional_dependencies:
159
+ - updateCitation
160
+ files: ^$
153
161
  pass_filenames: false
154
162
  always_run: true
155
163
  ```
156
164
 
157
- This example uses `pipx`. If you use uv, change the `entry` line to `entry: uv run updateCitation`. If you prefer uvx, change it to `entry: uvx updateCitation`.
165
+ This lets `pre-commit` install `updateCitation` in its own hook environment. It does not require `updateCitation` to be installed in the project's virtual environment.
158
166
 
159
- 3. Install the hook:
167
+ 1. Install the hook:
160
168
 
161
169
  ```bash
162
170
  pre-commit install
@@ -164,71 +172,49 @@ pre-commit install
164
172
 
165
173
  Now each commit runs `updateCitation` through `pre-commit` before finalizing the commit.
166
174
 
167
- ## Which Command Should I Use?
175
+ ### Non-GitHub Repositories
168
176
 
169
- All of these run the same `updateCitation` script. Use one command style and put that command in your `Git` hook or `pre-commit` hook.
177
+ The local options are not tied to GitHub. For GitLab, Codeberg, or another Git host, disable GitHub release metadata so `updateCitation` does not try to read GitHub releases:
170
178
 
171
- | How you manage Python tools | Recommended setup command | Command to run `updateCitation` |
172
- | ---------------------------------- | ------------------------------------------------------------ | ----------------------------------------------------- |
173
- | GitHub Action only | No local setup | `pipx run updateCitation` |
174
- | uv project | `uv add --dev updateCitation` | `uv run updateCitation` |
175
- | pip project | Add `updateCitation` to a developer-only optional dependency | `updateCitation` from your active virtual environment |
176
- | No project install, pipx available | No project change | `pipx run updateCitation` |
177
- | No project install, uvx available | No project change | `uvx updateCitation` |
178
-
179
- For uv-managed projects, the recommended local setup is:
180
-
181
- ```bash
182
- uv add --dev updateCitation
183
- ```
184
-
185
- Then use this command in your Git hook or pre-commit hook:
186
-
187
- ```bash
188
- uv run updateCitation
179
+ ```toml
180
+ [tool.updateCitation]
181
+ addGitHubRelease = false
189
182
  ```
190
183
 
191
- For pip-managed projects, add updateCitation to an optional dependency group that only developers install. In `pyproject.toml`, create or update this section:
184
+ If the package is not published on PyPI, also set:
192
185
 
193
186
  ```toml
194
- [project.optional-dependencies]
195
- developer = [
196
- "updateCitation",
197
- ]
187
+ [tool.updateCitation]
188
+ addPyPIrelease = false
198
189
  ```
199
190
 
200
- Then developers install that group in their virtual environment:
191
+ With those settings, `updateCitation` can still use `[project]` metadata from `pyproject.toml` and the existing citation file.
201
192
 
202
- ```bash
203
- python -m pip install -e ".[developer]"
204
- ```
193
+ ## Manually running `updateCitation`
205
194
 
206
- After that, the installed script is:
195
+ ### Install `updateCitation` as a uv-managed tool
207
196
 
208
197
  ```bash
209
- updateCitation
198
+ uv tool install updateCitation
210
199
  ```
211
200
 
212
- For a plain `Git` hook, use the script inside your virtual environment if the hook cannot find `updateCitation`. If your virtual environment folder is named `.venv`, the command is `.venv/bin/updateCitation` on macOS or Linux and `.venv/Scripts/updateCitation.exe` on Windows.
201
+ ### Install `updateCitation` with `pip`
213
202
 
214
- At the most basic level, the local choices are:
203
+ From your project's virtual environment:
215
204
 
216
- | Package command | `Git` hook | `pre-commit` hook |
217
- | ----------------------------------------------- | ---------- | ----------------- |
218
- | `uv run updateCitation` | yes | yes |
219
- | `updateCitation` from a pip virtual environment | yes | yes |
220
- | `pipx run updateCitation` | yes | yes |
221
- | `uvx updateCitation` | yes | yes |
205
+ ```bash
206
+ pip install updateCitation
207
+ ```
222
208
 
223
- ## Manual Use
209
+ ### Install `updateCitation` with `uv`
224
210
 
225
- From the top level of your repository:
211
+ Only for people who develop your project:
226
212
 
227
213
  ```bash
228
- pipx run updateCitation
214
+ uv add --dev updateCitation
229
215
  ```
230
216
 
231
- If `updateCitation` is already installed in your current Python environment:
217
+ ### When `updateCitation` is installed in your current Python environment
232
218
 
233
219
  ```bash
234
220
  updateCitation
@@ -246,7 +232,7 @@ updateCitation.here()
246
232
 
247
233
  No `updateCitation` configuration is required when you are happy with the defaults.
248
234
 
249
- `updateCitation` reads standard project metadata from `[project]` in `pyproject.toml`. The most important fields are:
235
+ `updateCitation` reads standard project metadata from `[project]` in `pyproject.toml`. PyPA's guide explains [writing `pyproject.toml`](https://packaging.python.org/en/latest/guides/writing-pyproject-toml/), and the PyPA specification explains why tool-specific settings belong under [the `[tool]` table](https://packaging.python.org/en/latest/specifications/pyproject-toml/#arbitrary-tool-configuration-the-tool-table). The most important `[project]` fields for `updateCitation` are:
250
236
 
251
237
  ```toml
252
238
  [project]
@@ -274,22 +260,22 @@ gitAmendFromGitHubAction = true
274
260
 
275
261
  These are the existing `[tool.updateCitation]` options:
276
262
 
277
- | Setting | Type | Default | Purpose |
278
- | -------------------------------------- | ---------------- | ----------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
279
- | `filenameCitationDOTcff` | string | `"CITATION.cff"` | Filename for the repository-root citation file. |
280
- | `pathFilenameCitationSSOT` | string | same path as the repository-root `CITATION.cff` | Authoritative source citation file. Use this if your editable citation file lives somewhere like `citations/CITATION.cff`. |
281
- | `addGitHubRelease` | boolean | `true` | Add GitHub release metadata when available. |
282
- | `addPyPIrelease` | boolean | `true` | Add a PyPI artifact URL when available. Set this to `false` for packages not published on PyPI. |
283
- | `projectURLTargets` | array of strings | `["homepage", "license", "repository"]` | Choose which keys from `[project.urls]` are copied into `CITATION.cff`. Supported values are `homepage`, `license`, and `repository`. |
284
- | `gitCommitMessage` | string | `"Update citations [skip ci]"` | Commit message used when updateCitation commits from GitHub Actions. |
285
- | `gitUserName` | string | `"updateCitation"` | Git username used for commits from GitHub Actions. |
286
- | `gitUserEmail` | string | empty string | Git email used for commits. If omitted, updateCitation tries GitHub-derived noreply addresses first and then falls back to `action@github.com`. |
287
- | `gitAmendFromGitHubAction` | boolean | `true` | If `true`, updateCitation commits and pushes the updated citation file when running in GitHub Actions. |
288
- | `pathFilenameCitationDOTcffRepository` | string | repository root `CITATION.cff` path | Advanced full-path override for the repository-root citation file. |
289
- | `pathRepository` | string | current working directory | Advanced override for the repository root. Usually you should run updateCitation from the repository root instead. |
290
- | `filename_pyprojectDOTtoml` | string | `"pyproject.toml"` | Advanced override for the settings filename after settings are loaded. |
291
- | `pathReferences` | string | `citations/` under the repository root | Accepted by the settings object, but not currently used by the main workflow. |
292
- | `GITHUB_TOKEN` | string or `null` | `null` | GitHub API token. Prefer the `GITHUB_TOKEN` environment variable instead of putting secrets in `pyproject.toml`. |
263
+ | Setting | Type | Default | Purpose |
264
+ | -------------------------------------- | ---------------- | ----------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
265
+ | `filenameCitationDOTcff` | string | `"CITATION.cff"` | Filename for the repository-root citation file. |
266
+ | `pathFilenameCitationSSOT` | string | same path as the repository-root `CITATION.cff` | Authoritative source citation file. Use this if your editable citation file lives somewhere like `citations/CITATION.cff`. |
267
+ | `addGitHubRelease` | boolean | `true` | Add GitHub release metadata when available. |
268
+ | `addPyPIrelease` | boolean | `true` | Add a PyPI artifact URL when available. Set this to `false` for packages not published on PyPI. |
269
+ | `projectURLTargets` | array of strings | `["homepage", "license", "repository"]` | Choose which keys from `[project.urls]` are copied into `CITATION.cff`. Supported values are `homepage`, `license`, and `repository`. |
270
+ | `gitCommitMessage` | string | `"Update citations [skip ci]"` | Commit message used when `updateCitation` commits from GitHub Actions. |
271
+ | `gitUserName` | string | `"updateCitation"` | Git username used for commits from GitHub Actions. |
272
+ | `gitUserEmail` | string | empty string | Git email used for commits. If omitted, `updateCitation` tries GitHub-derived noreply addresses first and then falls back to `action@github.com`. |
273
+ | `gitAmendFromGitHubAction` | boolean | `true` | If `true`, `updateCitation` commits and pushes the updated citation file when running in GitHub Actions. |
274
+ | `pathFilenameCitationDOTcffRepository` | string | repository root `CITATION.cff` path | Advanced full-path override for the repository-root citation file. |
275
+ | `pathRepository` | string | current working directory | Advanced override for the repository root. Usually you should run `updateCitation` from the repository root instead. |
276
+ | `filename_pyprojectDOTtoml` | string | `"pyproject.toml"` | Advanced override for the settings filename after settings are loaded. |
277
+ | `pathReferences` | string | `citations/` under the repository root | Accepted by the settings object, but not currently used by the main workflow. |
278
+ | `GITHUB_TOKEN` | string or `null` | `null` | GitHub API token. Prefer the `GITHUB_TOKEN` environment variable instead of putting secrets in `pyproject.toml`. |
293
279
 
294
280
  Do not set these internal fields in `[tool.updateCitation]`:
295
281
 
@@ -298,7 +284,7 @@ Do not set these internal fields in `[tool.updateCitation]`:
298
284
 
299
285
  ### Configuration Notes
300
286
 
301
- - `addPyPIrelease = false` prevents updateCitation from generating a new `repository-artifact` URL, but it does not delete an existing `repository-artifact` already present in your source citation file.
287
+ - `addPyPIrelease = false` prevents `updateCitation` from generating a new `repository-artifact` URL, but it does not delete an existing `repository-artifact` already present in your source citation file.
302
288
  - `projectURLTargets` only maps `homepage`, `license`, and `repository`.
303
289
  - If you override a path-related setting such as `filenameCitationDOTcff` or `pathRepository`, also override any dependent full-path setting you rely on.
304
290
 
@@ -314,6 +300,13 @@ addPyPIrelease = false
314
300
 
315
301
  Contributions are welcome. Please feel free to submit pull requests.
316
302
 
303
+ To run the tests, install `updateCitation` in editable mode with the `testing` [dependency group](https://packaging.python.org/en/latest/specifications/dependency-groups/) (this needs `pip` 25.1 or newer), then run `pytest` from the repository root:
304
+
305
+ ```bash
306
+ pip install -e . --group testing
307
+ pytest
308
+ ```
309
+
317
310
  ## Design Goals
318
311
 
319
312
  1. 100% Python.
@@ -322,9 +315,15 @@ Contributions are welcome. Please feel free to submit pull requests.
322
315
  4. All settings for external services, such as GitHub and PyPI, use the configuration from those services instead of creating new configuration for `updateCitation`.
323
316
  5. Highly extensible for current and future services.
324
317
 
325
- ## My Recovery
318
+ <!-- === DO_NOT_EDIT: path-sync hunterhogan === -->
319
+ ## My recovery
320
+
321
+ [![2011 August: Homeless since](https://img.shields.io/badge/2011_August-Homeless_since-blue?style=flat)](https://HunterThinks.com/support)
322
+ ![License: CC BY-NC 4.0](https://img.shields.io/badge/license-CC%20BY--NC%204.0-blue.svg)
323
+
324
+ By law, authors retain their copyrights unless they grant exceptions. The Creative Commons Attribution-NonCommercial 4.0 International Deed outlines how you may use this work.
326
325
 
327
- [![Static Badge](https://img.shields.io/badge/2011_August-Homeless_since-blue?style=flat)](https://HunterThinks.com/support)
328
- [![YouTube Channel Subscribers](https://img.shields.io/youtube/channel/subscribers/UC3Gx7kz61009NbhpRtPP7tw)](https://www.youtube.com/@HunterHogan)
326
+ The restriction on commercial use (without a license) limits advantage-taking, unjust enrichment, and exploitation. You would be morally wrong if you were to enrich yourself by using this work while I am denied healthcare, housing, security of property, and the safety of my person.
329
327
 
330
- [![CC-BY-NC-4.0](https://raw.githubusercontent.com/hunterhogan/updateCitation/refs/heads/main/.github/CC-BY-NC-4.0.png)](https://creativecommons.org/licenses/by-nc/4.0/)
328
+ To obtain and retain the right to use this work, you incur the cost of attributing the work to me. Your nominal cost might accrue as a benefit that mitigates my suffering or saves my life.
329
+ <!-- === OK_EDIT: path-sync hunterhogan === -->