mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-05 20:42:54 +00:00
Add a script to reformat the project
This commit is contained in:
committed by
Kirill Bulatov
parent
3be3bb7730
commit
3e35f10adc
11
scripts/reformat
Executable file
11
scripts/reformat
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/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
|
||||
poetry run flake8 test_runner
|
||||
poetry run black test_runner
|
||||
Reference in New Issue
Block a user