瀏覽代碼

Update setup instructions for recent debian / ubuntu (#3571)

`pip3 install` refuses to perform a system-wide installation, but we can
install `pre-commit` with `apt` instead.
Richard Smith 2 年之前
父節點
當前提交
dfb27ded9c
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      docs/project/contribution_tools.md

+ 3 - 2
docs/project/contribution_tools.md

@@ -49,10 +49,11 @@ sudo apt install \
   gh \
   libc++-dev \
   lld \
-  python3
+  python3 \
+  pipx
 
 # Install pre-commit.
-pip3 install pre-commit
+pipx install pre-commit
 
 # Set up git.
 # If you don't already have a fork: