File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ You need to have the following packages installed on your computer:
35353 . [ sam (AWS SAM)] ( https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/install-sam-cli.html )
36364 . python 3.11 or later
37375 . A local Docker daemon
38- 6 . Python packages for publish.py: ` pip install boto3 rich typer PyYAML botocore setuptools `
38+ 6 . Python packages for publish.py: ` pip install boto3 rich typer PyYAML botocore setuptools ruff `
39397 . ** Node.js 18+** and ** npm** (required for UI validation in publish script)
4040
4141For guidance on setting up a development environment, see:
Original file line number Diff line number Diff line change @@ -127,6 +127,7 @@ check_and_install_packages() {
127127 " rich:rich"
128128 " boto3:boto3"
129129 " yaml:PyYAML"
130+ " ruff:ruff"
130131 )
131132 missing_packages=()
132133
@@ -139,6 +140,11 @@ check_and_install_packages() {
139140 fi
140141 done
141142
143+ # Check ruff separately (command-line tool)
144+ if ! command -v ruff > /dev/null 2>&1 ; then
145+ missing_packages+=(" ruff" )
146+ fi
147+
142148 # Install missing packages if any
143149 if [[ ${# missing_packages[@]} -gt 0 ]]; then
144150 print_warning " Missing packages: ${missing_packages[*]} "
You can’t perform that action at this time.
0 commit comments