copier-pdm
copier-pdm copied to clipboard
Copier template for Python projects managed by PDM.
Thanks for the cool template! I have forked my own (https://github.com/hoangthienan95/copier-pdm/) and added my own [variable](https://github.com/hoangthienan95/copier-pdm/blob/a5e9a5e0b5a31c7112c2711f89c632bae2f1c002/copier.yml#L126) to be templated in [pyproject.toml](https://github.com/hoangthienan95/copier-pdm/blob/a5e9a5e0b5a31c7112c2711f89c632bae2f1c002/project/pyproject.toml.jinja#L78). However, when I run `copier gh:hoangthienan95/copier-pdm test`, I don't...
- blacken-docs - darker - doctest
I know I recently simplified it, but look at that: https://axgkl.github.io/docutools/about/credits/. Ins't this page great? I want the same thing :triumph:
To help implementing #4, #5 and #6 without spaghetti code, maybe I should create a new project that reads PDM dependencies from both pyproject.toml and pdm.lock and queries various information...
Verify compliance between the licenses of all the project's dependencies. I know there are online services allowing to do that, but as always, I'm more of a self-contained, autonomous, all-in-one,...
Add a duty that reads dependencies from pdm.lock and yields instance of a Dependency class which has an `is_internal` method that the user can override to implement their own logic...
- add a docs macro that outputs a JSON badge: ```python @env.macro def get_coverage(): data = json.load(Path("htmlcov/coverage.json").read_text()) value = int(data["totals"]["percent_covered"]) for threshold, hex in ( (95, "#4c1"), # brightgreen (90,...
After thinking about it, I don't really have a use-case for dependency locking. I only use the lock file to install dependencies under multiple Python versions. I don't track it,...
See https://github.com/pdm-project/pdm/issues/2310.