This commit is contained in:
Henrik Bakken
2021-09-17 14:26:09 +02:00
parent 38639714f2
commit 8d29e8a5a9
6 changed files with 55 additions and 6 deletions
-1
View File
@@ -1,6 +1,5 @@
set -x QT_QPA_PLATFORMTHEME "qt5ct" set -x QT_QPA_PLATFORMTHEME "qt5ct"
set -x GTK2_RC_FILES "$HOME/.gtkrc-2.0" set -x GTK2_RC_FILES "$HOME/.gtkrc-2.0"
set -x PYTHONBREAKPOINT ipdb.set_trace
# cuda stuff # cuda stuff
set -x CUDA_HOME /opt/cuda set -x CUDA_HOME /opt/cuda
+1 -1
View File
@@ -6,7 +6,7 @@
# For explanations of all config options below see docs/USAGE.md or the man page. # For explanations of all config options below see docs/USAGE.md or the man page.
# #
sync_dir="~/OneDrive" sync_dir="~/OneDrive"
skip_dir="Bilder/Camera Roll|Backup|Datasets|Pictures|Videos" skip_dir="Bilder/Camera Roll|Backup|Datasets|Pictures|Videos/Online only"
skip_file=".~*|~*|*.tmp" skip_file=".~*|~*|*.tmp"
# monitor_interval = "45" # monitor_interval = "45"
# skip_dir = "Videos" # skip_dir = "Videos"
+1
View File
@@ -36,6 +36,7 @@
* matplotlib stuff `pip install matplotlib seaborn matplotlib-label-lines ipympl qbstyles` * matplotlib stuff `pip install matplotlib seaborn matplotlib-label-lines ipympl qbstyles`
* other plotting `pip install plotly ggplot` * other plotting `pip install plotly ggplot`
* `pip install tensorboard torchtext pytorch-lightning torchvision` * `pip install tensorboard torchtext pytorch-lightning torchvision`
* `poetry completions fish > ~/.config/fish/completions/poetry.fish`
# settings # settings
* set shell to fish via `chsh` * set shell to fish via `chsh`
+3
View File
@@ -24,3 +24,6 @@ text/x-python=nvim.desktop
application/xml=nvim.desktop application/xml=nvim.desktop
application/octet-stream=nvim.desktop application/octet-stream=nvim.desktop
x-scheme-handler/msteams=teams.desktop x-scheme-handler/msteams=teams.desktop
[Added Associations]
application/pdf=vivaldi-stable.desktop;
+18
View File
@@ -0,0 +1,18 @@
[mypy]
show_error_context = True
show_error_codes = True
show_column_numbers = True
pretty = True
color_output = True
disallow_untyped_calls = False
disallow_untyped_defs = True
disallow_incomplete_defs = True
disallow_untyped_decorators = True
# warn_redundant_casts = True
# warn_unused_ignores = True
# warn_unreachable = True
warn_return_any = False
no_implicit_optional = True
strict_optional = True
+32 -4
View File
@@ -275,7 +275,7 @@ require("packer").startup {function(use)
vim.g.seoul256_background = 235 vim.g.seoul256_background = 235
end end
} }
vim.cmd "colorscheme jellybeans" vim.cmd "colorscheme OceanicNext"
-- coloring of colornames -- coloring of colornames
use {"rrethy/vim-hexokinase", use {"rrethy/vim-hexokinase",
@@ -682,7 +682,35 @@ use {"nvim-treesitter/nvim-treesitter",
nvim_lsp.tsserver.setup{} nvim_lsp.tsserver.setup{}
-- sudo npm install -g yaml-language-server -- sudo npm install -g yaml-language-server
nvim_lsp.yamlls.setup{ nvim_lsp.yamlls.setup{
on_attach = on_attach on_attach = on_attach,
settings = {
yaml = {
customTags = {
"!ChildContainer mapping",
"!ChildLink mapping",
"!ConstantTensor mapping",
"!ConstantValue mapping",
"!Dtype scalar",
"!DtypeTensor scalar",
"!ImportClass scalar",
"!MarkovArray mapping",
"!MarkovTensor mapping",
"!ReferenceContainer mapping",
"!ReferenceLink mapping",
"!SeriesArray mapping",
"!SeriesArrayRaw mapping",
"!SeriesTensor mapping",
"!SeriesTensorRaw mapping",
"!UDFfactory scalar",
"!UDFnu scalar",
"!UDFvalidator scalar",
"!Unit scalar",
"!UserClass mapping",
"!UserInstance mapping",
"!getattr mapping",
}
}
}
} }
-- sudo npm install -g pyright -- sudo npm install -g pyright
nvim_lsp.pyright.setup{ nvim_lsp.pyright.setup{
@@ -711,10 +739,10 @@ use {"nvim-treesitter/nvim-treesitter",
python = { python = {
{ {
lintCommand = "flake8 --max-line-length 88 --format '%(path)s:%(row)d:%(col)d: %(code)s %(code)s %(text)s' --stdin-display-name ${INPUT} -", lintCommand = "flake8 --max-line-length 88 --format '%(path)s:%(row)d:%(col)d: %(code)s %(code)s %(text)s' --stdin-display-name ${INPUT} -",
lintFormats = {"%f:%l:%c: %t%n%n%n %m"},
lintSource = "flake8",
lintStdin = true, lintStdin = true,
lintIgnoreExitCode = true, lintIgnoreExitCode = true,
lintFormats = {"%f:%l:%c: %t%n%n%n %m"},
lintSource = "flake8"
}, },
{ {
formatCommand = "isort --stdout --profile black --force-single-line-imports -", formatCommand = "isort --stdout --profile black --force-single-line-imports -",