33 Commits

Author SHA1 Message Date
Sigurd Spieckermann
f374fd9baa build: migrate from Poetry to uv 2025-04-22 12:20:23 +02:00
Jairo Llopis
f842729d99
docs: explain how to add a new release 2025-04-15 10:24:37 +01:00
Francesco Calcavecchia
ec11ae28f0
docs: Mention uv tool as an alterative to pipx (#1924)
Co-authored-by: Francesco Calcavecchia <f18771@eon.com>
2025-01-14 14:07:04 +00:00
Peter Bittner
1a444b8500
build: recommend pyclean to reduce custom developer tooling (#1673) 2024-07-01 15:26:36 +01:00
Jairo Llopis
409174a963
ci(pre-commit): auto-fix style problems (#1676)
This is another approach to fix the same problem as https://github.com/copier-org/copier/pull/1641 by just letting the CI reformat and push back changes to the origin branch.
2024-06-26 07:19:28 +01:00
Jairo Llopis
dee3e03079 docs: explain how to leverage nix binary cache using flakes 2023-06-12 10:56:59 +01:00
Jairo Llopis
e397d088bc docs: add commit message and PR merge guidelines
Now that we have more maintainers, I think this will be helpful.
2023-06-12 10:56:59 +01:00
Jairo Llopis
67cc4ffde3
feat: nix support
- Provide a dev shell.
- Provide a nix package.
- Provide a nix flake.
- Development environment based on direnv.
- Docs.
- Configure Gitpod to use direnv and nix.
- Configure Cachix out of the box, and document how to use it.
- Add direnv and nix to CI.
- Satisfy some linters that came from Precommix, even when Precommix was later discarded.
- Mark some tests as impure.
- Run only pure tests when building Copier with Nix.
- Add poetry loader to direnv.
- Update contribution guide.
2023-01-18 09:40:08 +00:00
Sigurd Spieckermann
44d574763f
chore: organize deps with Poetry v1.2 groups (#823)
* chore: organize deps with Poetry v1.2 groups

* chore: update Read the Docs config to use Poetry

* chore: reorganize deps into 3 sections
2022-09-30 04:53:57 +01:00
Sigurd Spieckermann
0e97a1729f docs: require Poetry v1.2+ 2022-09-24 08:56:05 +01:00
Sigurd Spieckermann
e682269cd5 docs: unify shell code blocks 2022-09-09 16:05:20 +01:00
Sigurd Spieckermann
befe8c5ea5 docs: always use ordered list marker "1." 2022-09-09 16:04:20 +01:00
Sigurd Spieckermann
fc0db48989
build(deps-dev): add "commitizen" dev dependency (#779) 2022-09-02 12:24:13 +01:00
Sigurd Spieckermann
b57dda3af5 docs: capitalize headings consistently in contributing guide 2022-09-02 06:27:02 +01:00
Sigurd Spieckermann
13fddd997c docs: remove prerequisite "poethepoet" in contributing guide 2022-09-01 10:40:54 +01:00
Sigurd Spieckermann
590e7bff84 docs: add missing punctuation in contributing guide 2022-08-30 15:34:51 +01:00
Sigurd Spieckermann
fc6bb03a6d docs: fix spelling 2022-08-26 09:47:49 +01:00
Timothée Mazzucotelli
98a41a6a65 docs: Tell about creating the venv in the project 2021-08-02 09:39:30 +01:00
Jairo Llopis
4f36db4c72 style(pre-commit): enforce conventional commits
Using python commitizen, we check that commits conform to the desired style. This way, we will be able to leverage other tools later, such as changelog automatic generation.

Fix https://github.com/copier-org/copier/issues/380
2021-04-15 17:46:24 +01:00
Jairo Llopis
401a50144d
Notify brand new discussion channel 2020-11-15 09:04:29 +00:00
Jairo Llopis
5c8751a840 Remove docs from dev dependenies
https://github.com/python-poetry/poetry/issues/2555 was fixed, so we should be able to use `poetry install -E docs`.
2020-10-16 11:47:57 +00:00
Yajo
a06ca18d7f Fix gitpod configuration
- Install basic development tools and configure them to work out of the box, based on gitpod's official ubuntu docker image.
- Disable $PIP_USER=yes, hardcoded by gitpod and unfriendly with poetry and pre-commit.
- Make Fish shell available.
- Add some basic settings.
- Add instructions to CONTRIBUTING.
2020-09-30 15:29:53 +01:00
Nat Noordanus
d949d51ad3 Replace makefile with poe tasks & update CONTRIBUTING.md
The new `[tool.poe.tasks]` section and new poetry based workflow are a complete
replacement for the makefile which has also been removed. #129

Also:
- add devtasks for python functions to be referenced as poe tasks
- update CONTRIBUTING.MD #154 to keep things coherent
  - remove reference to tox
- update ci to work with more expressive toml syntax (upgrade pip)
  - and use poe tasks in ci
2020-08-21 14:02:49 +01:00
Jairo Llopis
cdb563a96d Add 4-space indentation to .md files
Mkdocs uses `python-markdown`, and [they say](https://python-markdown.github.io/#differences):

> The syntax rules clearly state that when a list item consists of multiple paragraphs, “each subsequent paragraph in a list item must be indented by either 4 spaces or one tab” (emphasis added). However, many implementations do not enforce this rule and allow less than 4 spaces of indentation. The implementers of Python-Markdown consider it a bug to not enforce this rule.

As we were using 2 spaces for markdown files (which looks better in source code), some indented lists were not displaying properly in the docs page.

Thus I change the setting to 4 spaces. Prettier will now enforce them, and mkdocs will display things properly.
2020-08-10 12:59:07 +00:00
Jairo Llopis
a456f59b7a A little polish on docs
- Prepare for a new release.
- Add configuring page, with more explicit docs and examples for each option.
- Remove configuration stuff from creation page.
- Comparisons are ugly, so remove them from the index page.
2020-08-10 11:27:52 +00:00
Timothée Mazzucotelli
3ad2c67a20 Autodoc 2020-07-31 15:02:58 +02:00
Timothée Mazzucotelli
92472ce639 Update README structure
Co-authored-by: Jairo Llopis <Yajo@users.noreply.github.com>
2020-05-05 10:49:43 +02:00
Jairo Llopis
63842f5087
Add proseWrap: always to prettier configuration, and re-run pre-commit
This makes YAML and MD files to be automatically wrapped when possible and when it doesn't alter the content meaning. All looks better this way.
2020-04-08 12:01:06 +01:00
Jairo Llopis
f8673465ba
Improve autoformatting
Continues the job started in #104:

- Configure more languages for VSCode to format on save.
- Recommend extensions for VSCode.
- Remove settings from `.prettierrc.yml` that are duplicated in `.editorconfig` (which prettier uses by default).
2020-01-09 13:34:57 +00:00
Jairo Llopis
0a952b7680 Run pre-commit for the 1st time
OK, now this diff is very big, but it's actually modifying only style, not code functions themselves. From now on, this won't have to happen again.

Basically I just ran `pre-commit run --all-files` and committed that. I hope you like how it looks now!
2019-12-10 11:47:30 +00:00
Juan-Pablo Scaletti
aab54bf2d0 Update mm.py. Fix #69 2019-09-26 22:09:54 -05:00
Juan-Pablo Scaletti
f7dfbd4f9b Submit to the Master Mold 2019-06-15 03:48:16 -05:00
Juan-Pablo Scaletti
5cea5d7ac7 Voodoo -> Copier 2019-02-11 22:32:34 -05:00