Loading .pre-commit-config.yaml +20 −17 Original line number Diff line number Diff line # vim:ff=unix ts=2 sw=2 ai expandtab --- repos: - repo: https://github.com/pre-commit/pre-commit-hooks.git - repo: https://github.com/pre-commit/pre-commit-hooks rev: v3.4.0 hooks: - id: check-added-large-files - id: check-executables-have-shebangs - id: check-merge-conflict - id: check-symlinks exclude: >- myclirc|netrc|packet-cli|mycli-history|scwrc|gcloud\.json|\.envrc\.private - id: detect-private-key - id: check-toml files: Pipfile - id: trailing-whitespace - repo: https://github.com/ambv/black.git rev: 20.8b1 hooks: - id: black exclude: &excluded_pythonscripts pythonrc.py|rabbitmqadmin args: - | --line-length=79 - repo: https://github.com/adrienverge/yamllint.git - repo: https://github.com/adrienverge/yamllint rev: v1.25.0 hooks: - id: yamllint - repo: https://github.com/amperser/proselint.git - repo: https://github.com/amperser/proselint/ rev: 0.10.2 hooks: - id: proselint types: [plain-text] exclude: LICENSE - repo: https://github.com/PyCQA/prospector.git - repo: https://github.com/ambv/black rev: 20.8b1 hooks: - id: black exclude: &excluded_pythonscripts pythonrc.py|rabbitmqadmin args: - | --line-length=79 - repo: https://github.com/PyCQA/prospector rev: 1.3.1 hooks: - id: prospector Loading Loading @@ -73,7 +72,6 @@ repos: additional_dependencies: - flake8-bugbear - repo: https://github.com/Yelp/detect-secrets.git rev: v0.14.3 hooks: Loading @@ -100,3 +98,8 @@ repos: name: Shellcheck .bashrc files: \.bashrc types: [text] - repo: https://github.com/executablebooks/mdformat.git rev: 0.5.3 hooks: - id: mdformat README.md +15 −13 Original line number Diff line number Diff line Loading @@ -13,6 +13,7 @@ mass consumption as it is. *WARNING: This will overwrite your existing files.* ``` cd git init git remote add origin https://git.shore.co.il/nimrod/rcfiles.git/ Loading @@ -22,6 +23,7 @@ mass consumption as it is. git bull Documents/bin/install-git-hooks .githooks/post-merge ``` ## Dependencies Loading @@ -41,7 +43,7 @@ This software is licensed under the MIT license (see `LICENSE.txt`). ## Author Information Nimrod Adar, [contact me](mailto:nimrod@shore.co.il) or visit my [website]( https://www.shore.co.il/). Patches are welcome via [`git send-email`]( http://git-scm.com/book/en/v2/Git-Commands-Email). The repository is located at: <https://git.shore.co.il/nimrod/>. Nimrod Adar, [contact me](mailto:nimrod@shore.co.il) or visit my [website](https://www.shore.co.il/). Patches are welcome via [`git send-email`](http://git-scm.com/book/en/v2/Git-Commands-Email). The repository is located at: <https://www.shore.co.il/git/>. Loading
.pre-commit-config.yaml +20 −17 Original line number Diff line number Diff line # vim:ff=unix ts=2 sw=2 ai expandtab --- repos: - repo: https://github.com/pre-commit/pre-commit-hooks.git - repo: https://github.com/pre-commit/pre-commit-hooks rev: v3.4.0 hooks: - id: check-added-large-files - id: check-executables-have-shebangs - id: check-merge-conflict - id: check-symlinks exclude: >- myclirc|netrc|packet-cli|mycli-history|scwrc|gcloud\.json|\.envrc\.private - id: detect-private-key - id: check-toml files: Pipfile - id: trailing-whitespace - repo: https://github.com/ambv/black.git rev: 20.8b1 hooks: - id: black exclude: &excluded_pythonscripts pythonrc.py|rabbitmqadmin args: - | --line-length=79 - repo: https://github.com/adrienverge/yamllint.git - repo: https://github.com/adrienverge/yamllint rev: v1.25.0 hooks: - id: yamllint - repo: https://github.com/amperser/proselint.git - repo: https://github.com/amperser/proselint/ rev: 0.10.2 hooks: - id: proselint types: [plain-text] exclude: LICENSE - repo: https://github.com/PyCQA/prospector.git - repo: https://github.com/ambv/black rev: 20.8b1 hooks: - id: black exclude: &excluded_pythonscripts pythonrc.py|rabbitmqadmin args: - | --line-length=79 - repo: https://github.com/PyCQA/prospector rev: 1.3.1 hooks: - id: prospector Loading Loading @@ -73,7 +72,6 @@ repos: additional_dependencies: - flake8-bugbear - repo: https://github.com/Yelp/detect-secrets.git rev: v0.14.3 hooks: Loading @@ -100,3 +98,8 @@ repos: name: Shellcheck .bashrc files: \.bashrc types: [text] - repo: https://github.com/executablebooks/mdformat.git rev: 0.5.3 hooks: - id: mdformat
README.md +15 −13 Original line number Diff line number Diff line Loading @@ -13,6 +13,7 @@ mass consumption as it is. *WARNING: This will overwrite your existing files.* ``` cd git init git remote add origin https://git.shore.co.il/nimrod/rcfiles.git/ Loading @@ -22,6 +23,7 @@ mass consumption as it is. git bull Documents/bin/install-git-hooks .githooks/post-merge ``` ## Dependencies Loading @@ -41,7 +43,7 @@ This software is licensed under the MIT license (see `LICENSE.txt`). ## Author Information Nimrod Adar, [contact me](mailto:nimrod@shore.co.il) or visit my [website]( https://www.shore.co.il/). Patches are welcome via [`git send-email`]( http://git-scm.com/book/en/v2/Git-Commands-Email). The repository is located at: <https://git.shore.co.il/nimrod/>. Nimrod Adar, [contact me](mailto:nimrod@shore.co.il) or visit my [website](https://www.shore.co.il/). Patches are welcome via [`git send-email`](http://git-scm.com/book/en/v2/Git-Commands-Email). The repository is located at: <https://www.shore.co.il/git/>.