summaryrefslogtreecommitdiffstats
path: root/.pre-commit-config.yaml
AgeCommit message (Collapse)Author
2020-12-28pre-commit: Add shellcheck hookJan Holthuis
2020-11-28pre-commit: Replace deprecated check_byte-order-marker hookJan Holthuis
2020-10-28Merge remote-tracking branch 'mixxx/2.3' into skin-change-crash-fixronso0
2020-10-18pre-commit: Update some hook versionsJan Holthuis
2020-10-13Removed dependency for clang-format, this will make the CI rely on it to be ↵Valefungo
on system path
2020-09-02pre-commit: Move codespell matches into separate fileJan Holthuis
2020-09-02pre-commit: Also ignore *.wxl files in codespell hookJan Holthuis
2020-09-02pre-commit: Move codespell terms to ignore into .codespellignore fileJan Holthuis
2020-09-02pre-commit: Add crate to list of ignored codespell wordsJan Holthuis
2020-09-01Ignore additional prefixes m_pp p pp s_ k and the false poitive pInOutDaniel Schürmann
2020-08-31pre-commit: Only run codespell check on changed linesJan Holthuis
2020-08-31pre-commit: Ignore dlgabout.cpp in codespell hook (contains names)Jan Holthuis
2020-08-31pre-commit: Ignore m_/m_p/p prefixes in variable namesJan Holthuis
2020-08-31pre-commit: Exclude po/pot/ts files from codespell hookJan Holthuis
2020-08-30pre-commit: add codespell hookBe
I am tired of correcting typos in code review.
2020-08-30pre-commit: Do not exclude cpp files from end-of-file-fixer hookJan Holthuis
2020-08-04pre-commit: Do not format JS files using clang-formatJan Holthuis
2020-08-01pre-commit: Improve documentation for clang-format hookJan Holthuis
2020-07-31tools: Refactor python clang-format wrappingJan 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-02Add clang_format_wrapper.py to avoid CI/CD race conditionsAlex
- 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-19exclude files checked by clang-format from other redundant whitespace checksDaniel Schürmann
2020-06-19Removed unused push hookDaniel Schürmann
2020-06-12Exclude headers generated by Kaitai Struct from pre-commit hookUwe Klotz
2020-06-11Update pre-commit dependenciesUwe Klotz
2020-05-19Globally exclude .ts translation files from pre-commit-hooksUwe Klotz
2020-05-18Exclude .ts files from trailing-whitespace checkUwe Klotz
2020-05-18Fix pre-commit-hook exclusion of .ts filesUwe Klotz
2020-05-17Exclude .ts files from Transifex from pre-commit-hookUwe Klotz
2020-05-11Rename 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-30pre-commit: Ignore test dataJan Holthuis
2020-04-06pre-commit: Rename line_length to line-length for consistencyJan Holthuis
2020-03-29use underscore instead of dashDaniel Schürmann
2020-03-29Added line-length.py to call clang-format for lines > 100 onlyDaniel Schürmann
2020-03-26pre-commit: Install clang-format dependency automaticallyJan Holthuis
2020-03-20Require non-specific python3 for pre-commitsOwen Williams
2020-03-19Use python 3.7 style for checking scriptsOwen Williams
2020-02-26pre-commit: Do not run `git clang-format` in parallelJan Holthuis
Running `git clang-format` in parallel (when multiple files have been changed) can cause issues because `.git/index.lock` already exists.
2020-02-11pre-commit: Make sure that flake8 linter runs after black formatterJan Holthuis
2020-02-11pre-commit: Restrict python hooks to scripts/ directoryJan Holthuis
2020-02-04Merge branch 'master' of github.com:mixxxdj/mixxx into pre-commit-pythonJan Holthuis
2020-02-04pre-commit: Improve hook install instructionsJan Holthuis
2020-02-04pre-commit: Add hint regarding the required Python version to commentJan Holthuis
2020-02-03pre-commit: Add linting and autoformatting for pythonJan Holthuis
2020-02-03pre-commit: Add comment with usage instructions to config fileJan Holthuis
2020-02-03pre-commit: Use git clang-format instead of plain clang-formatJan Holthuis
2020-01-25pre-commit: Order hooks alphabetically in config fileJan Holthuis
2020-01-25pre-commit: Exclude lib/ directory from checks globallyJan Holthuis
2020-01-25pre-commit: Exclude MSVC files from check-byte-order-marker hookJan Holthuis
2020-01-25pre-commit: Also report unused eslint-disable directivesJan Holthuis
2020-01-25pre-commit: Remove useless additional_dependencies for eslintJan Holthuis