trafficserver icon indicating copy to clipboard operation
trafficserver copied to clipboard

pre-commit tool setup issue (pip)

Open c-taylor opened this issue 5 months ago • 2 comments

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

c-taylor avatar Sep 04 '24 15:09 c-taylor