User Tools

Site Tools


coding_guidelines

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
coding_guidelines [2020/05/22 06:26]
xerus [pre-commit] add python version info
coding_guidelines [2020/05/22 06:30] (current)
xerus [pre-commit] add ubuntu instructions
Line 28: Line 28:
 To automatically adjust the code style in every commit, it is recommended to install the [[https://​pre-commit.com/​|pre-commit]] framework. It will run a few scripts, including clang-format,​ to ensure the code style guidelines are met.  To automatically adjust the code style in every commit, it is recommended to install the [[https://​pre-commit.com/​|pre-commit]] framework. It will run a few scripts, including clang-format,​ to ensure the code style guidelines are met. 
  
-The required config file, including installation instructions,​ is in the Mixxx repository at [[https://​github.com/​mixxxdj/​mixxx/​blob/​master/​.pre-commit-config.yaml|.pre-commit-config.yaml]]. Please note that it requires at least Python 3.7.+The required config file, including installation instructions,​ is in the Mixxx repository at [[https://​github.com/​mixxxdj/​mixxx/​blob/​master/​.pre-commit-config.yaml|.pre-commit-config.yaml]]. Please note that it requires at least Python 3.7. [[https://​www.itsupportwale.com/​blog/​how-to-upgrade-to-python-3-8-on-ubuntu-18-04-lts/​|Here]] are instructions for updating python3 on Ubuntu LTS.
 ==== Command line ==== ==== Command line ====
  
coding_guidelines.txt ยท Last modified: 2020/05/22 06:30 by xerus