Files
neon/scripts/reformat
Joonas Koivunen 5112142997 fix: use different port for temporary postgres (#2743)
`test_tenant_relocation` ends up starting a temporary postgres instance with a fixed port. the change makes the port configurable at scripts/export_import_between_pageservers.py and uses that in test_tenant_relocation.
2022-11-02 18:37:48 +00:00

12 lines
289 B
Bash
Executable File

#!/usr/bin/env bash
set -euox pipefail
# Runs all formatting tools to ensure the project is up to date
echo 'Reformatting Rust code'
cargo fmt
echo 'Reformatting Python code'
poetry run isort test_runner scripts
poetry run flake8 test_runner scripts
poetry run black test_runner scripts