@@ -32,29 +32,26 @@ make setup
3232
3333You now have the dependencies installed.
3434
35- You can run the application with ` pdm run [ARGS...]` .
36-
3735Run ` make help` to see all the available actions!
3836
3937# # Tasks
4038
4139This project uses [duty](https://github.com/pawamoy/duty) to run tasks.
4240A Makefile is also provided. The Makefile will try to run certain tasks
4341on multiple Python versions. If for some reason you don' t want to run the task
44- on multiple Python versions, you can do one of the following:
45-
46- 1. `export PYTHON_VERSIONS= `: this will run the task
47- with only the current Python version
48- 2. run the task directly with `pdm run duty TASK`
42+ on multiple Python versions, you run the task directly with `pdm run duty TASK`.
4943
5044The Makefile detects if a virtual environment is activated,
5145so `make` will work the same with the virtualenv activated or not.
5246
47+ If you work in VSCode,
48+ [see examples of tasks and run configurations](https://pawamoy.github.io/copier-pdm/work/#vscode-setup).
49+
5350## Development
5451
5552As usual:
5653
57- 1. create a new branch: `git checkout -b feature-or-bugfix-name`
54+ 1. create a new branch: `git switch -c feature-or-bugfix-name`
58551. edit the code and/or the documentation
5956
6057**Before committing:**
@@ -63,7 +60,7 @@ As usual:
63601. run `make check` to check everything (fix any warning)
64611. run `make test` to run the tests (fix any issue)
65621. if you updated the documentation or the project dependencies:
66- 1. run `make docs-serve `
63+ 1. run `make docs`
6764 1. go to http://localhost:8000 and check that everything looks good
68651. follow our [commit message convention](#commit-message-convention)
6966
@@ -140,7 +137,7 @@ git commit --fixup=SHA
140137Once all the changes are approved, you can squash your commits:
141138
142139``` bash
143- git rebase -i --autosquash master
140+ git rebase -i --autosquash main
144141```
145142
146143And force-push:
0 commit comments