|
5 | 5 |
|
6 | 6 | Generates a Python project structure with github actions for continuous integration and continuous |
7 | 7 | deployment. Both pure Python projects and Python projects with Rust modules using PyO3 can be |
8 | | -created. Addtionally FastAPI projects can be generated. |
| 8 | +created. Additionally FastAPI projects can be generated. |
9 | 9 |
|
10 | 10 | ## Pure Python project included packages |
11 | 11 |
|
12 | | -For package managment choose between: |
| 12 | +For package management choose between: |
13 | 13 |
|
14 | 14 | - [poetry](https://python-poetry.org/) |
15 | 15 | - [setuptools](https://github.com/pypa/setuptools) |
@@ -106,7 +106,7 @@ python-project create |
106 | 106 | ``` |
107 | 107 |
|
108 | 108 | You will be asked a series of questions that will be used to generate your project. The project |
109 | | -generator will check pypi for the lastest version of the included packages and use those while |
| 109 | +generator will check pypi for the latest version of the included packages and use those while |
110 | 110 | generating the project. This feature can be disabled by using with either `-s` or |
111 | 111 | `--skip-download-latest-packages` when running the generator. If either there is an issue with |
112 | 112 | retrieving the latest versions or if you have decided to skip looking up the latest version, the |
@@ -167,7 +167,7 @@ python-project create -s |
167 | 167 |
|
168 | 168 | - Dependabot Schedule |
169 | 169 |
|
170 | | - When dependabot is enabed the schedule controls how often dependabot will check for updates and |
| 170 | + When dependabot is enabled the schedule controls how often dependabot will check for updates and |
171 | 171 | create PRs. |
172 | 172 |
|
173 | 173 | - Use Continuous Deployment |
@@ -205,33 +205,33 @@ python-project create -s |
205 | 205 |
|
206 | 206 | - Docs Site Name |
207 | 207 |
|
208 | | - This quesion will only show if you chose `yes` for `Include Docs`. This value sets the site name |
| 208 | + This question will only show if you chose `yes` for `Include Docs`. This value sets the site name |
209 | 209 | field for mkdocs. |
210 | 210 |
|
211 | 211 | - Docs Site Description |
212 | 212 |
|
213 | | - This quesion will only show if you chose `yes` for `Include Docs`. This value provides a |
| 213 | + This question will only show if you chose `yes` for `Include Docs`. This value provides a |
214 | 214 | a description of the repo to use in the docs. |
215 | 215 |
|
216 | 216 | - Docs Site URL |
217 | 217 |
|
218 | | - This quesion will only show if you chose `yes` for `Include Docs`. This is the URL where the docs |
| 218 | + This question will only show if you chose `yes` for `Include Docs`. This is the URL where the docs |
219 | 219 | will be hosted. |
220 | 220 |
|
221 | 221 | - Docs Locale |
222 | 222 |
|
223 | | - This quesion will only show if you chose `yes` for `Include Docs`, and controls the language of |
| 223 | + This question will only show if you chose `yes` for `Include Docs`, and controls the language of |
224 | 224 | the docs. |
225 | 225 |
|
226 | 226 | - Repo Name |
227 | 227 |
|
228 | | - This quesion will only show if you chose `yes` for `Include Docs`. This is the name of the repo |
| 228 | + This question will only show if you chose `yes` for `Include Docs`. This is the name of the repo |
229 | 229 | the docs are referencing. For example in this repository the repo name would be |
230 | 230 | `sanders41/python-project-generator`. |
231 | 231 |
|
232 | 232 | - Repo URL |
233 | 233 |
|
234 | | - This quesion will only show if you chose `yes` for `Include Docs`. This is URL for the repo the |
| 234 | + This question will only show if you chose `yes` for `Include Docs`. This is URL for the repo the |
235 | 235 | docs are referencing. For example in this repository the repo url would be |
236 | 236 | `https://github.com/sanders41/python-project-generator` |
237 | 237 |
|
@@ -351,7 +351,7 @@ python-project config reset |
351 | 351 |
|
352 | 352 | [just](https://github.com/casey/just) allows you to add project specific commands to the project |
353 | 353 | that can be run from the command line. It is very similar to [make](https://github.com/mirror/make) |
354 | | -but has the advantage of being cross platform compatable and purposee build for running commands. |
| 354 | +but has the advantage of being cross platform compatible and purposee build for running commands. |
355 | 355 |
|
356 | 356 | As an example, if you have the following in the `justfile` (this is included with the default file |
357 | 357 | generated by this project): |
@@ -410,14 +410,14 @@ just lint |
410 | 410 | provided .pre-commit-config.yaml file) every time you make a commit to your code. If any of the |
411 | 411 | lints fail pre-commit will cancel the commit. When possible, pre-commit will also automatically |
412 | 412 | fix any errors that fail. For example pre-commit can automatically apply changes that fail ruff |
413 | | -fromatting. pre-commit caches information and only runs on files that have changed so it is fast |
| 413 | +formatting. pre-commit caches information and only runs on files that have changed so it is fast |
414 | 414 | and doesn't slow down your work flow will preventing you from forgetting to run checks. |
415 | 415 |
|
416 | 416 | ### FastAPI migrations |
417 | 417 |
|
418 | 418 | [sqlx](https://github.com/launchbadge/sqlx) is used for migrations. A dedicated docker container |
419 | 419 | runs the migrations each time docker is started. For creating new migrations install `sqlx-cli`. |
420 | | -`sqlx-cli` also needs to be instealled in order to run the generated test suite. |
| 420 | +`sqlx-cli` also needs to be installed in order to run the generated test suite. |
421 | 421 |
|
422 | 422 | ```sh |
423 | 423 | cargo install sqlx-cli --no-default-features --features native-tls,postgres |
|
0 commit comments