From 1a15da1bc3ee95cd57d03f18c4451e5e673910ea Mon Sep 17 00:00:00 2001 From: Jakub Miazek Date: Tue, 7 Mar 2023 12:38:41 +0100 Subject: [PATCH] update Makefile and README.md for local dev with poetry --- Makefile | 2 +- README.md | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d817d79..3e23092 100644 --- a/Makefile +++ b/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. diff --git a/README.md b/README.md index 76a0a1c..3fc5533 100644 --- a/README.md +++ b/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 +``` +