This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Shellcheck Bash Linter...................................................Passed | |
Generate Markdown toc....................................................Passed | |
Pretty Print YAML files..................................................Passed | |
No commit on master or main..............................................Passed | |
flake8...................................................................Failed | |
- hook id: flake8 | |
- exit code: 1 | |
lib/djWasabi/git.py:59:1: E302 expected 2 blank lines, found 1 | |
lib/djWasabi/git.py:79:22: E231 missing whitespace after ',' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git commit -am "Some message that I know that it will not make it to the log" | |
Shellcheck Bash Linter...................................................Passed | |
Generate Markdown toc....................................................Passed | |
Pretty Print YAML files..................................................Passed | |
No commit on master or main..............................................Passed | |
flake8...................................................................Failed | |
- hook id: flake8 | |
- exit code: 1 | |
lib/djWasabi/git.py:59:1: E302 expected 2 blank lines, found 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- repo: https://github.com/PyCQA/flake8 | |
rev: 7.0.0 | |
hooks: | |
- id: flake8 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- id: shellcheck | |
name: Shellcheck Bash Linter | |
description: Performs linting on bash scripts | |
entry: bin/shellcheck.sh | |
language: script |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
repos: | |
- repo: https://github.com/dj-wasabi/pre-commit-hooks | |
rev: master | |
hooks: | |
- id: shellcheck | |
- id: markdown-toc | |
- id: verify-yaml | |
- id: no-commit-on-branch | |
args: ['-b master,main'] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ls -l .git/hooks | |
total 112 | |
-rwxr-xr-x 1 wdijkerman staff 478 Jun 14 21:01 applypatch-msg.sample | |
-rwxr-xr-x 1 wdijkerman staff 896 Jun 14 21:01 commit-msg.sample | |
-rwxr-xr-x 1 wdijkerman staff 3327 Jun 14 21:01 fsmonitor-watchman.sample | |
-rwxr-xr-x 1 wdijkerman staff 189 Jun 14 21:01 post-update.sample | |
-rwxr-xr-x 1 wdijkerman staff 424 Jun 14 21:01 pre-applypatch.sample | |
-rwxr-xr-x 1 wdijkerman staff 1638 Jun 14 21:01 pre-commit.sample | |
-rwxr-xr-x 1 wdijkerman staff 416 Jun 14 21:01 pre-merge-commit.sample | |
-rwxr-xr-x 1 wdijkerman staff 1348 Jun 14 21:01 pre-push.sample |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
consul.*.runtime.* | |
name="consul_runtime" | |
type="$2" | |
host="{{ inventory_hostname }}" | |
consul.runtime.total_gc_pause_ns | |
name="consul_runtime_total_gc_pause_ns" | |
type="$2" | |
host="{{ inventory_hostname }}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# bash/zsh git prompt support | |
# | |
# Copyright (C) 2006,2007 Shawn O. Pearce <[email protected]> | |
# Distributed under the GNU General Public License, version 2.0. | |
# | |
# This script allows you to see repository status in your prompt. | |
# | |
# To enable: | |
# | |
# 1) Copy this file to somewhere (e.g. ~/.git-prompt.sh). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .bash_profile | |
# Source global definitions | |
if [ -f /etc/bashrc ]; then | |
. /etc/bashrc | |
fi | |
# Including git-prompt script | |
source ~/.git-prompt.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
altscreen on | |
term screen-256color | |
bind ',' prev | |
bind '.' next | |
startup_message off | |
vbell off | |
# | |
backtick 1 10 10 .bin/screen.sh |
NewerOlder