Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-09-02 | pre-commit: Move codespell matches into separate file | Jan Holthuis | |
2020-09-02 | pre-commit: Also ignore *.wxl files in codespell hook | Jan Holthuis | |
2020-09-02 | pre-commit: Move codespell terms to ignore into .codespellignore file | Jan Holthuis | |
2020-09-02 | pre-commit: Add crate to list of ignored codespell words | Jan Holthuis | |
2020-09-01 | Ignore additional prefixes m_pp p pp s_ k and the false poitive pInOut | Daniel Schürmann | |
2020-08-31 | pre-commit: Only run codespell check on changed lines | Jan Holthuis | |
2020-08-31 | pre-commit: Ignore dlgabout.cpp in codespell hook (contains names) | Jan Holthuis | |
2020-08-31 | pre-commit: Ignore m_/m_p/p prefixes in variable names | Jan Holthuis | |
2020-08-31 | pre-commit: Exclude po/pot/ts files from codespell hook | Jan Holthuis | |
2020-08-30 | pre-commit: add codespell hook | Be | |
I am tired of correcting typos in code review. | |||
2020-08-30 | pre-commit: Do not exclude cpp files from end-of-file-fixer hook | Jan Holthuis | |
2020-08-04 | pre-commit: Do not format JS files using clang-format | Jan Holthuis | |
2020-08-01 | pre-commit: Improve documentation for clang-format hook | Jan Holthuis | |
2020-07-31 | tools: Refactor python clang-format wrapping | Jan Holthuis | |
This merges the clang-format and line-length hooks into a single one. Semantically, this makes way more sense. Also, this prevent multiple attempted commit that are rejected by pre-commit (pre-commit might skip the line-length hook if old clang-format hook already failed). Also, this removes any dependency on git-clang-format and implements the whole mechanism itself. It retrieves all added lines from the unified diff instead and is now capable of taking PRE_COMMIT_FROM_REF into account. By moving the git-related code into a separate githelper library, it's way easier to write additional python wrappers for new hooks, e.g. for clang-tidy. | |||
2020-07-02 | Add clang_format_wrapper.py to avoid CI/CD race conditions | Alex | |
- use tools/clang_format_wrapper.py to execute git-clang-format - fix minor formatting issues in .pre-commit-config.yam - enable verbose for clang-format pre-commit plugin - add types to black pre-commit plugin | |||
2020-06-19 | exclude files checked by clang-format from other redundant whitespace checks | Daniel Schürmann | |
2020-06-19 | Removed unused push hook | Daniel Schürmann | |
2020-06-12 | Exclude headers generated by Kaitai Struct from pre-commit hook | Uwe Klotz | |
2020-06-11 | Update pre-commit dependencies | Uwe Klotz | |
2020-05-19 | Globally exclude .ts translation files from pre-commit-hooks | Uwe Klotz | |
2020-05-18 | Exclude .ts files from trailing-whitespace check | Uwe Klotz | |
2020-05-18 | Fix pre-commit-hook exclusion of .ts files | Uwe Klotz | |
2020-05-17 | Exclude .ts files from Transifex from pre-commit-hook | Uwe Klotz | |
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. |