trafficserver
trafficserver copied to clipboard
pre-commit tool setup issue (pip)
I encountered a few issues when setting up the tools for pre-commit hooks on a recent brew:
- 'Modern' brew python does not have 'pip' only 'pip3'
- virtualenv and other yapf tools scripts hard require pip
- Scripts use python3 by name, but not pip3 (seems inconsistent)
- repo yapf is from 2021
Additionally: pip installs make me uncomfortable. Maybe consider using system yapf/clang-format and publishing config rather than version locking?
Reproduction: Remove all of your yapf/clang tooling in your repo Try to recreate it