Skip to content

Commit

Permalink
improve spelling (#2313)
Browse files Browse the repository at this point in the history
  • Loading branch information
deronnax authored Oct 12, 2023
1 parent bb72bfb commit 0d1383a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/docs/usage/project.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,5 +143,5 @@ $ pdm info --env
- If *Project Packages* is `None`, [virtualenv mode](./venv.md) is enabled.
- Otherwise, [PEP 582 mode](./pep582.md) is enabled.

Now, you have setup a new PDM project and get a `pyproject.toml` file. Refer to [metadata section](../reference/pep621.md)
Now, you have set up a new PDM project and get a `pyproject.toml` file. Refer to [metadata section](../reference/pep621.md)
about how to write `pyproject.toml` properly.
2 changes: 1 addition & 1 deletion docs/docs/usage/scripts.md
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ Under certain situations PDM will look for some special hook scripts for executi
- `post_lock`: Run after dependency resolution
- `pre_build`: Run before building distributions
- `post_build`: Run after distributions are built
- `pre_publish`: Run before publishinbg distributions
- `pre_publish`: Run before publishing distributions
- `post_publish`: Run after distributions are published
- `pre_script`: Run before any script
- `post_script`: Run after any script
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/usage/template.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ The template is given as a positional argument of `pdm init`, in one of the foll

- `pdm init flask` - Initialize the project from the template `https://github.com/pdm-project/template-flask`
- `pdm init https://github.com/frostming/pdm-template-flask` - Initialize the project from a Git URL. Both HTTPS and SSH URL are acceptable.
- `pdm init django@v2` - To checkout the specific branch or tag. Full Git URL also supports it.
- `pdm init django@v2` - To check out the specific branch or tag. Full Git URL also supports it.
- `pdm init /path/to/template` - Initialize the project from a template directory on local filesystem.

And `pdm init` will use the default template built in.
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/usage/venv.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ When you run [`pdm init`](../reference/cli.md#init) command, PDM will [ask for t

Compared to [PEP 582](https://www.python.org/dev/peps/pep-0582/), virtual environments are considered more mature and have better support in the Python ecosystem as well as IDEs. Therefore, virtualenv is the default mode if not configured otherwise.

**Virtual environments will be used if the project interpreter(the interpreter stored in `.pdm-python`, which can be checked by `pdm info`) is from a virtualenv.**
**Virtual environments will be used if the project interpreter (the interpreter stored in `.pdm-python`, which can be checked by `pdm info`) is from a virtualenv.**

## Virtualenv auto-creation

Expand Down

0 comments on commit 0d1383a

Please sign in to comment.