Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-05-11 | Rename scripts/ directory to tools/ | Jan Holthuis | |
We also have a "script" directory (without the "s"), which makes it confusing and harder to select the correct directory with shell completion. The "tools" name fits better, since the directory contains tools that are/were helpful during mixxx development (these tools are all scripts - but that is of secondary importance and also coincidence). | |||
2020-04-30 | pre-commit: Ignore test data | Jan Holthuis | |
2020-04-06 | pre-commit: Rename line_length to line-length for consistency | Jan Holthuis | |
2020-03-29 | use underscore instead of dash | Daniel Schürmann | |
2020-03-29 | Added line-length.py to call clang-format for lines > 100 only | Daniel Schürmann | |
2020-03-26 | pre-commit: Install clang-format dependency automatically | Jan Holthuis | |
2020-03-20 | Require non-specific python3 for pre-commits | Owen Williams | |
2020-03-19 | Use python 3.7 style for checking scripts | Owen Williams | |
2020-02-26 | pre-commit: Do not run `git clang-format` in parallel | Jan Holthuis | |
Running `git clang-format` in parallel (when multiple files have been changed) can cause issues because `.git/index.lock` already exists. | |||
2020-02-11 | pre-commit: Make sure that flake8 linter runs after black formatter | Jan Holthuis | |
2020-02-11 | pre-commit: Restrict python hooks to scripts/ directory | Jan Holthuis | |
2020-02-04 | Merge branch 'master' of github.com:mixxxdj/mixxx into pre-commit-python | Jan Holthuis | |
2020-02-04 | pre-commit: Improve hook install instructions | Jan Holthuis | |
2020-02-04 | pre-commit: Add hint regarding the required Python version to comment | Jan Holthuis | |
2020-02-03 | pre-commit: Add linting and autoformatting for python | Jan Holthuis | |
2020-02-03 | pre-commit: Add comment with usage instructions to config file | Jan Holthuis | |
2020-02-03 | pre-commit: Use git clang-format instead of plain clang-format | Jan Holthuis | |
2020-01-25 | pre-commit: Order hooks alphabetically in config file | Jan Holthuis | |
2020-01-25 | pre-commit: Exclude lib/ directory from checks globally | Jan Holthuis | |
2020-01-25 | pre-commit: Exclude MSVC files from check-byte-order-marker hook | Jan Holthuis | |
2020-01-25 | pre-commit: Also report unused eslint-disable directives | Jan Holthuis | |
2020-01-25 | pre-commit: Remove useless additional_dependencies for eslint | Jan Holthuis | |
2020-01-25 | pre-commit: Enable check-merge-conflict hook | Jan Holthuis | |
2020-01-24 | Add pre-commit config | Jan Holthuis | |
This adds a configuration for the pre-commit framework, a simple way to manage, install and run git hooks to catch common problems early on. See https://pre-commit.com/ for details. This adds the following hooks: - check-case-conflict - check-byte-order-marker - check-yaml - check-json - check-xml - mixed-line-ending - end-of-file-fixer - trailing-whitespace - no-commit-to-branch - eslint - clang-format - qsscheck If you have python and python-pip installed, just run: $ pip install --user pre-commit $ git clone https://github.com/mixxxdj/mixxx.git $ cd mixxx $ pre-commit install $ pre-commit install -t pre-push It will now run relevant hooks automatically on every `git commit` or `git push` in the mixxx git repository. If you have a problems with a particular hook, you can use the `$SKIP` environment variable to disable hooks: $ SKIP=clang-format,end-of-file-fixer git commit This can also be used to separate logic changes and autoformatting into two subsequent commits. Using the `$SKIP` var is preferable to using `git commit --no-verify` because it won't prevent catching other, unrelated issues. |