Changeset View
Changeset View
Standalone View
Standalone View
CONTRIBUTING.md
Show First 20 Lines • Show All 118 Lines • ▼ Show 20 Lines | |||||
Note: Arcanist tooling will tend to fail if your remote origin is set to something other | Note: Arcanist tooling will tend to fail if your remote origin is set to something other | ||||
than the above. A common mistake is to clone from Github and then forget to update | than the above. A common mistake is to clone from Github and then forget to update | ||||
your remotes. | your remotes. | ||||
Follow instructions provided by `arc install-certificate` to provide your API token. | Follow instructions provided by `arc install-certificate` to provide your API token. | ||||
6. Code formatting tools | 6. Code formatting tools | ||||
During submission of patches, arcanist will automatically run `arc lint` to | |||||
enforce Bitcoin ABC code formatting standards, and often suggests changes. | |||||
If code formatting tools do not install automatically on your system, you | If code formatting tools do not install automatically on your system, you | ||||
may have to install clang-format-7, autopep8 and flake8. clang-format-7 can be | will have to install clang-format-7, autopep8 and flake8. | ||||
installed from https://releases.llvm.org/download.html or https://apt.llvm.org | |||||
To install clang-format-7 on Ubuntu (>= 18.04+updates) or Debian (>= 10): | |||||
``` | |||||
sudo apt-get install clang-format-7 | |||||
``` | |||||
If not available in the distribution, clang-format-7 can be installed from | |||||
https://releases.llvm.org/download.html or https://apt.llvm.org | |||||
To install autopep8 and flake8 on Ubuntu: | To install autopep8 and flake8 on Ubuntu: | ||||
``` | ``` | ||||
sudo apt-get install python-autopep8 flake8 | sudo apt-get install python-autopep8 flake8 | ||||
``` | ``` | ||||
Working with The Bitcoin ABC Repository | Working with The Bitcoin ABC Repository | ||||
▲ Show 20 Lines • Show All 71 Lines • Show Last 20 Lines |