mirror of
https://github.com/grillazz/fastapi-sqlalchemy-asyncpg.git
synced 2025-08-26 16:40:40 +03:00
Merge pull request #76 from grillazz/39-add-pre-commit
update Makefile and README.md for local dev with poetry
This commit is contained in:
commit
6c21f42b46
2
Makefile
2
Makefile
@ -38,7 +38,7 @@ safety: ## Check project and dependencies with safety https://github.com/pyupio/
|
||||
|
||||
.PHONY: py-upgrade
|
||||
py-upgrade: ## Upgrade project py files with pyupgrade library for python version 3.10
|
||||
pyupgrade --py310-plus `find app -name "*.py"`
|
||||
pyupgrade --py311-plus `find app -name "*.py"`
|
||||
|
||||
.PHONY: lint
|
||||
lint: ## Lint project code.
|
||||
|
10
README.md
10
README.md
@ -56,3 +56,13 @@ Hope you enjoy it.
|
||||
- 3 OCT 2022 poetry added to project
|
||||
- 12 NOV 2022 ruff implemented to project as linting tool
|
||||
- 14 FEB 2023 bump project to Python 3.11
|
||||
|
||||
### Local development with poetry
|
||||
|
||||
```shell
|
||||
pyenv install 3.11 && pyenv local 3.11
|
||||
```
|
||||
```shell
|
||||
poetry install
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user