Merge branch 'main' of ssh://git.a09.uk:48765/alex/alex-environ

This commit is contained in:
Alex Manning 2023-03-16 21:08:11 +00:00
commit 264280d914
9 changed files with 26 additions and 7 deletions

View file

@ -31,3 +31,10 @@ then
alias sudo='sudo -A'
fi
# Fix the horrible shell that poetry gives you.
if [ -n "$POETRY_ACTIVE" ]
then
export VIRTUAL_ENV_DISABLE_PROMPT=1
cwd=$(pwd)
export PS1="\[\033[48;5;27m\]${cwd##*/}\[$(tput sgr0)\] 🖋️📜 "
fi

2
home/.config/black Normal file
View file

@ -0,0 +1,2 @@
[tool.black]
line-length = 100

View file

@ -1,7 +1,8 @@
[flake8]
ignore = E203, E266, E501, W503, B950
ignore = E203, E266, E501, W503, B950, D105, D106, D107
# line length is intentionally set to 80 here because black uses Bugbear
# See https://github.com/psf/black/blob/master/README.md#line-length for more details
max-line-length = 80
max-line-length = 100
max-complexity = 18
select = B,C,E,F,W,T4,B9
select = B,C,E,F,W,T4,B9,D
docstring-convention = pep257

View file

@ -1,3 +1,3 @@
[mypy]
strict = True
ignore_missing_imports = True
install_types = True

View file

@ -140,7 +140,7 @@ confidence=
# exception-escape,
# comprehension-escape
disable=bad-continuation,unused-variable,line-too-long,missing-class-docstring
disable=bad-continuation,unused-variable,line-too-long,missing-class-docstring,missing-function-docstring
# Enable the message, report, category or checker with the given id(s). You can
# either give multiple identifier separated by comma (,) or put this option

View file

@ -19,3 +19,6 @@
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
[core]
hooksPath = ~/.alex-environ/private/home/git_hooks

View file

@ -8,7 +8,6 @@ let g:ale_linters = {
\ 'python': [
\ 'pylint',
\ 'flake8',
\ 'pydocstyle',
\ 'mypy',
\ 'bandit',
\ ],
@ -49,3 +48,7 @@ let g:coc_global_extensions = ['coc-jedi', 'coc-rls', 'coc-tsserver', 'coc-json'
"""Language Specific Options.
"Remeber that COC has it's own settings file too, so most of it's settings are
"there.
" VIMSPECTOR
let g:vimspector_enable_mappings = 'HUMAN'
let g:vimspector_install_gadgets = ['debugpy']

View file

@ -17,6 +17,9 @@ function! LoadPlugins()
Plug 'neoclide/coc.nvim', {'branch': 'release'} "Autocompetion
endif
Plug 'puremourning/vimspector'
Plug 'sagi-z/vimspectorpy', { 'do': { -> vimspectorpy#update() } }
" THEMES
Plug 'altercation/vim-colors-solarized' " Solarized is a pretty colour scheme
Plug 'morhetz/gruvbox' " gruvbox is a good colour scheme on 256 colours

@ -1 +1 @@
Subproject commit 051de63966223f86fb0859d28fbb3ef093bbb4c9
Subproject commit 0e34233ad56224b2096022a2c8b0f4b4bd87d2d0