Compare commits
4 commits
340c406daf
...
2ac21153af
Author | SHA1 | Date | |
---|---|---|---|
odrling | 2ac21153af | ||
odrling | 681c49f4b1 | ||
odrling | 14e54c5785 | ||
odrling | fa5d615bac |
|
@ -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
|
||||
|
|
16
.direnvrc
16
.direnvrc
|
@ -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
29
.flake8
|
@ -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__
|
|
@ -1,4 +0,0 @@
|
|||
[user]
|
||||
email = florianbadie@odrling.xyz
|
||||
name = odrling
|
||||
signingkey = 16E8C31588B334262922E721D6ECD016B66F01BF
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -176,7 +176,6 @@ Cache
|
|||
|
||||
# git config
|
||||
!/.gitignore
|
||||
!/.gitconfig
|
||||
!/.config/git
|
||||
|
||||
# Xmodmap
|
||||
|
|
Loading…
Reference in a new issue