GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — powertools-lambda-python/Makefile at develop · ritofactory/powertools-lambda-python Expand file tree/ Copy pathMakefileMore file actions 107 lines (79 loc) · 3.04 KB / Copy pathMakefileFile metadata and controls107 lines (79 loc) · 3.04 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 .PHONY: target dev format lint test coverage-html pr build build-docs build-docs-website .PHONY: docs-local security-baseline complexity-baseline release-prod release-test release target: @$(MAKE) pr dev: pip install --upgrade pip pre-commit poetry @$(MAKE) dev-version-plugin poetry install --extras "all redis datamasking valkey" pre-commit install dev-quality-code: pip install --upgrade pip pre-commit poetry @$(MAKE) dev-version-plugin poetry install --extras "all redis datamasking valkey" pre-commit install format-check: poetry run ruff format aws_lambda_powertools tests examples --check format: poetry run ruff format aws_lambda_powertools tests examples lint: format poetry run ruff check aws_lambda_powertools tests examples lint-docs: docker run -v ${PWD}:/markdown 06kellyjac/markdownlint-cli "docs" lint-docs-fix: docker run -v ${PWD}:/markdown 06kellyjac/markdownlint-cli --fix "docs" test: poetry run pytest -m "not perf" --ignore tests/e2e --cov=aws_lambda_powertools --cov-report=xml poetry run pytest --cache-clear tests/performance test-dependencies: poetry run nox --error-on-external-run --reuse-venv=yes --non-interactive test-pydanticv2: poetry run pytest -m "not perf" --ignore tests/e2e unit-test: poetry run pytest tests/unit e2e-test: poetry run pytest tests/e2e coverage-html: poetry run pytest -m "not perf" --ignore tests/e2e --cov=aws_lambda_powertools --cov-report=html pre-commit: pre-commit run --show-diff-on-failure pr: lint lint-docs mypy pre-commit test security-baseline complexity-baseline build: pr poetry build docs-local: poetry run mkdocs serve docs-local-docker: docker build -t squidfunk/mkdocs-material ./docs/ docker run --rm -it -p 8000:8000 -v ${PWD}:/docs squidfunk/mkdocs-material security-baseline: poetry run bandit --baseline bandit.baseline -r aws_lambda_powertools complexity-baseline: $(info Maintenability index) poetry run radon mi aws_lambda_powertools $(info Cyclomatic complexity index) poetry run xenon --max-absolute C --max-modules A --max-average A aws_lambda_powertools --exclude aws_lambda_powertools/shared/json_encoder.py,aws_lambda_powertools/utilities/validation/base.py,aws_lambda_powertools/event_handler/api_gateway.py # # Use `poetry version <major>/<minor></patch>` for version bump # release-prod: poetry config pypi-token.pypi ${PYPI_TOKEN} poetry publish -n release-test: poetry config repositories.testpypi https://test.pypi.org/legacy poetry config pypi-token.pypi ${PYPI_TEST_TOKEN} poetry publish --repository testpypi -n release: pr poetry build $(MAKE) release-test $(MAKE) release-prod changelog: git fetch --tags origin CURRENT_VERSION=$(shell git describe --abbrev=0 --tag) ;\ echo "[+] Pre-generating CHANGELOG for tag: $$CURRENT_VERSION" ;\ docker run -v "${PWD}":/workdir quay.io/git-chglog/git-chglog:0.15.1 > CHANGELOG.md mypy: poetry run mypy --pretty aws_lambda_powertools examples ty: poetry run ty check . dev-version-plugin: poetry self add git+https://github.com/monim67/poetry-bumpversion@348de6f247222e2953d649932426e63492e0a6bf |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |