···11# Changes here will be overwritten by Copier; NEVER EDIT MANUALLY
22-_commit: 95f4c41
22+_commit: v2024.03.1
33_src_path: gh:astrojuanlu/copier-pylib
44author_email: hello@juanlu.space
55author_name: Juan Luis Cano Rodríguez
···7788## Contributing code
991010-1. Set up a Python development environment
1010+1. Clone the repository
1111+2. Set up and activate a Python development environment
1112 (advice: use [venv](https://docs.python.org/3/library/venv.html),
1213 [virtualenv](https://virtualenv.pypa.io/), or [miniconda](https://docs.conda.io/en/latest/miniconda.html))
1313-2. Install tox: `python -m pip install tox`
1414-3. Clone the repository
1515-4. Start a new branch off master: `git switch -c new-branch master`
1616-5. Make your code changes
1717-6. Check that your code follows the style guidelines of the project: `tox -e reformat && tox -e check`
1818-7. (optional) Build the documentation: `tox -e docs`
1919-8. (optional) Run the tests: `tox -e py39`
1414+3. Install tox: `python -m pip install tox`
1515+4. Make sure the tests run: `tox -e py38`
2016 (change the version number according to the Python you are using)
2121-9. Commit, push, and open a pull request!
1717+5. Start a new branch: `git switch -c new-branch main`
1818+6. Make your code changes
1919+7. Check that your code follows the style guidelines of the project: `tox -e reformat && tox -e check`
2020+8. Run the tests again and verify that they pass: `tox -e py38`
2121+9. (optional) Build the documentation: `tox -e docs`
2222+10. Commit, push, and open a pull request!
-20
docs/Makefile
···11-# Minimal makefile for Sphinx documentation
22-#
33-44-# You can set these variables from the command line, and also
55-# from the environment for the first two.
66-SPHINXOPTS ?=
77-SPHINXBUILD ?= sphinx-build
88-SOURCEDIR = source
99-BUILDDIR = build
1010-1111-# Put it first so that "make" without argument is like "make help".
1212-help:
1313- @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
1414-1515-.PHONY: help Makefile
1616-1717-# Catch-all target: route all unknown targets to Sphinx using the new
1818-# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
1919-%: Makefile
2020- @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)