Compare commits

...

4 commits

Author SHA1 Message Date
odrling 2ac21153af
[git] set user config in ~/.config/git
no reason to write it in ~/.gitconfig
2024-04-05 09:02:47 +02:00
odrling 681c49f4b1
remove .direnvrc 2024-04-05 07:54:44 +02:00
odrling 14e54c5785
remove .flake8 2024-04-05 07:54:11 +02:00
odrling fa5d615bac
remove .p10k.zsh 2024-04-05 07:53:52 +02:00
6 changed files with 4 additions and 1768 deletions

View file

@ -1,3 +1,7 @@
[user]
email = florianbadie@odrling.xyz
name = odrling
signingkey = 16E8C31588B334262922E721D6ECD016B66F01BF
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f

View file

@ -1,16 +0,0 @@
layout_poetry() {
if [[ ! -f pyproject.toml ]]; then
log_error 'No pyproject.toml found. Use `poetry new` or `poetry init` to create one first.'
exit 2
fi
local VENV=$(poetry env info --path)
if [[ -z $VENV || ! -d $VENV/bin ]]; then
log_error 'No poetry virtual environment found. Use `poetry install` to create one first.'
exit 2
fi
export VIRTUAL_ENV=$VENV
export POETRY_ACTIVE=1
PATH_add "$VENV/bin"
}

29
.flake8
View file

@ -1,29 +0,0 @@
[flake8]
max-line-length = 99
ignore =
# spaces around keywords
E251,
# lambda expressions
E731,
# line break before binary operator
W503,
# line break after binary operator
W504,
# blank line at end of file
W391,
# whitespace around arithmetic operator
E226,
# ambiguous variable name
E741,
per-file-ignores =
__init__.py:
# imported but unused
F401,
# unable to detect undefined names
F403,
# comments should start with space
example.local_settings.py: E265,
exclude = .git,.venv,__pycache__

View file

@ -1,4 +0,0 @@
[user]
email = florianbadie@odrling.xyz
name = odrling
signingkey = 16E8C31588B334262922E721D6ECD016B66F01BF

1
.gitignore vendored
View file

@ -176,7 +176,6 @@ Cache
# git config
!/.gitignore
!/.gitconfig
!/.config/git
# Xmodmap

1718
.p10k.zsh

File diff suppressed because it is too large Load diff