mirror of
https://github.com/neondatabase/neon.git
synced 2025-12-26 15:49:58 +00:00
- Introduce ruff (https://beta.ruff.rs/) to replace flake8 and isort - Update mypy and black
11 lines
256 B
Bash
Executable File
11 lines
256 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 ruff --fix test_runner scripts
|
|
poetry run black test_runner scripts
|