Skip to content

Commit

Permalink
fix(docs): Extract logger code examples
Browse files Browse the repository at this point in the history
Changes:
- Extract code examples
- Run isort and black
- Fix python syntax errors
- Update line high lights
- Add make task

Related to:
- aws-powertools#1064
  • Loading branch information
michaelbrewer committed Apr 13, 2022
1 parent b577366 commit bd751f3
Show file tree
Hide file tree
Showing 34 changed files with 485 additions and 400 deletions.
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,11 @@ changelog:

mypy:
poetry run mypy --pretty aws_lambda_powertools

format-examples:
poetry run isort docs/examples
poetry run black docs/examples/*/*/*.py

lint-examples:
poetry run python3 -m py_compile docs/examples/*/*/*.py
cfn-lint docs/examples/*/*/*.yml
Loading

0 comments on commit bd751f3

Please sign in to comment.