Merge branch 'main' into notify-api-387

This commit is contained in:
Steven Reilly
2023-08-22 17:45:04 -04:00
committed by GitHub
49 changed files with 387 additions and 2695 deletions

View File

@@ -52,6 +52,16 @@ py-lint: ## Run python linting scanners
pipenv run flake8 .
pipenv run isort --check-only ./app ./tests
.PHONY: avg-complexity
avg-complexity:
echo "*** Shows average complexity in radon of all code ***"
pipenv run radon cc ./app -a -na
.PHONY: too-complex
too-complex:
echo "*** Shows code that got a rating of C, D or F in radon ***"
pipenv run radon cc ./app -a -nc
.PHONY: py-test
py-test: export NEW_RELIC_ENVIRONMENT=test
py-test: ## Run python unit tests