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
if [[ -o login && -o interactive ]]; then | |
ssh-add -q --apple-load-keychain | |
fi |
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 shell=sh enable=all | |
# ~/.config/direnv/lib/layout_python_hatch.sh | |
# direnv config plugin for hatch | |
# https://direnv.net | |
fail() { | |
[ "$#" != "0" ] || set -- FAIL | |
echo >&2 "$@" | |
return 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
from __future__ import annotations | |
import ast | |
import sys | |
from pathlib import Path | |
__all__ = ["remove_annotations"] | |
class AnnotationRemovalTransformer(ast.NodeTransformer): |
OlderNewer