This file contains 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
#!/bin/bash | |
set -euo pipefail | |
create_commit() { | |
git commit --allow-empty -m "$1" | |
} | |
rm -rf repo | |
mkdir repo |
This file contains 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
#!/usr/bin/env python3 | |
""" | |
Like cat, but highlight invisible characters | |
""" | |
import argparse | |
import sys | |
if sys.stdout.isatty(): | |
BOLD = "\033[01m" |
This file contains 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
#!/usr/bin/env python3 | |
""" | |
Interfactive version of scriv | |
""" | |
import argparse | |
import sys | |
from typing import List, Optional | |
from scriv.changelog import Fragment | |
from scriv.gitinfo import git_edit |
This file contains 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
diff --git a/.env.example b/.env.example | |
index 223b4e5..ba6693d 100644 | |
--- a/.env.example | |
+++ b/.env.example | |
@@ -1,2 +1,3 @@ | |
GITGUARDIAN_API_KEY=__________FILL ME__________ | |
GITGUARDIAN_API_URL=https://api.gitguardian.com/ | |
+IS_WEB_AUTH_ENABLED=1 | |
diff --git a/ggshield/auth.py b/ggshield/auth.py | |
index 2abab90..ccfc461 100644 |