فهرست منبع

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: