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
exclude: migrations/.*\.py|Procfile|[aw]sgi\.py|node_modules|.git|\.polar|inputs/.* | |
repos: | |
- repo: https://github.com/pre-commit/pre-commit-hooks | |
rev: v4.4.0 | |
hooks: | |
- id: trailing-whitespace | |
- id: end-of-file-fixer | |
- id: check-yaml | |
- id: check-json | |
- id: check-toml |
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
[Unit] | |
Description=MailHog service | |
After=docker.service | |
Wants=network-online.target docker.socket | |
Requires=docker.socket | |
[Service] | |
TimeoutStartSec=120 | |
Restart=on-failure | |
RestartSec=5 |
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 | |
for PY in $(ls /usr/bin/python3.* | egrep "3.[0-9]+$"); do | |
PRI=$(echo $PY | egrep -o "[0-9]+$") | |
echo "Installing 3.$PRI" | |
update-alternatives --install /usr/bin/python python ${PY} ${PRI} | |
update-alternatives --install /usr/bin/python3 python3 ${PY} ${PRI} | |
done |
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
[project] | |
name = "New-Project" | |
description = "Replace this with a description" | |
version = "0.0.1" | |
authors = [{name = "Ben Gosney", email = "bengosney@googlemail.com"}] | |
dependencies = [] | |
[project.optional-dependencies] | |
dev = ["black", "mypy", "pip-tools", "pre-commit", "icecream"] |
OlderNewer