pre-commit-hook
Here are 120 public repositories matching this topic...
Summary
Even if the custom .yamllint.yml is read, the 'line-length': {'level': 'warning', 'max': 120, 'allow-non-breakable-words': True, 'allow-non-breakable-inline-mappings': False} rule will trigger an fatal violation.
yamllint itself triggers only a warning.
See https://github.com/konstruktoid/ansible-role-hardening/runs/4732728069?check_suite_focus=true
.yamllint.yml:
Is there a how-to guide to write my own tool? I want to do some conditional stripping/modifying (e.g. insert a Python script into a cell) for a Kaggle notebook. I've been playing around for an hour and I've sort-of-got a tool working, but I can't get nbqa to pass in anything I can read. In my code sys.argv has the original Notebook filename and if I rewrite that, nbqa throws an exception.k
-
Updated
Apr 11, 2022 - Rust
-
Updated
May 23, 2022 - Python
-
Updated
May 31, 2022 - Python
-
Updated
Mar 11, 2022 - CMake
-
Updated
May 11, 2022 - Shell
-
Updated
Feb 26, 2021 - Rust
-
Updated
Jun 1, 2022 - Groovy
-
Updated
Feb 20, 2022 - Python
-
Updated
Oct 16, 2021 - JavaScript
-
Updated
Jan 13, 2022 - Go
The current library has been tested with husky 1.x, update the library to support higher versions of husky.
-
Updated
Jun 2, 2022 - Jupyter Notebook
-
Updated
Jun 4, 2022 - Python
-
Updated
Feb 18, 2022 - Shell
-
Updated
Apr 1, 2022 - Python
-
Updated
Aug 25, 2021 - Python
-
Updated
Jun 4, 2022 - TypeScript
-
Updated
May 25, 2022 - Dockerfile
-
Updated
Jun 9, 2021 - Python
-
Updated
Jan 14, 2022 - Python
-
Updated
Apr 4, 2019
-
Updated
May 23, 2022 - Python
-
Updated
May 6, 2020 - Shell
-
Updated
Sep 24, 2020 - Python
Improve this page
Add a description, image, and links to the pre-commit-hook topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the pre-commit-hook topic, visit your repo's landing page and select "manage topics."
Perhaps we should document this issue in the FAQ? Using pre-commit with Black is pretty common (and it's not always instantly clear it passes all of the files to the hook directly bypassing any file discovery the hook may implement). I'd suggest pre-commit's exclude configurations first, and then black's force-exclude.
_Originally posted by @ichard26 in psf/black#3013