diff --git a/fish/config.fish b/fish/config.fish index 93a75a5..cdc9d7f 100644 --- a/fish/config.fish +++ b/fish/config.fish @@ -1,6 +1,5 @@ set -x QT_QPA_PLATFORMTHEME "qt5ct" set -x GTK2_RC_FILES "$HOME/.gtkrc-2.0" -set -x PYTHONBREAKPOINT ipdb.set_trace # cuda stuff set -x CUDA_HOME /opt/cuda diff --git a/hjalmar-droneship/onedrive/config b/hjalmar-droneship/onedrive/config index f86e8a5..65d8e55 100644 --- a/hjalmar-droneship/onedrive/config +++ b/hjalmar-droneship/onedrive/config @@ -6,7 +6,7 @@ # For explanations of all config options below see docs/USAGE.md or the man page. # 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" # monitor_interval = "45" # skip_dir = "Videos" diff --git a/manjaro.md b/manjaro.md index 6df2781..b126f6b 100644 --- a/manjaro.md +++ b/manjaro.md @@ -36,6 +36,7 @@ * matplotlib stuff `pip install matplotlib seaborn matplotlib-label-lines ipympl qbstyles` * other plotting `pip install plotly ggplot` * `pip install tensorboard torchtext pytorch-lightning torchvision` +* `poetry completions fish > ~/.config/fish/completions/poetry.fish` # settings * set shell to fish via `chsh` diff --git a/mimeapps.list b/mimeapps.list index e8fb781..85d7e8f 100644 --- a/mimeapps.list +++ b/mimeapps.list @@ -24,3 +24,6 @@ text/x-python=nvim.desktop application/xml=nvim.desktop application/octet-stream=nvim.desktop x-scheme-handler/msteams=teams.desktop + +[Added Associations] +application/pdf=vivaldi-stable.desktop; diff --git a/mypy/mypy.ini b/mypy/mypy.ini new file mode 100644 index 0000000..a3c2734 --- /dev/null +++ b/mypy/mypy.ini @@ -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 diff --git a/nvim/init.lua b/nvim/init.lua index a73f682..8c02ddc 100644 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -275,7 +275,7 @@ require("packer").startup {function(use) vim.g.seoul256_background = 235 end } - vim.cmd "colorscheme jellybeans" + vim.cmd "colorscheme OceanicNext" -- coloring of colornames use {"rrethy/vim-hexokinase", @@ -682,7 +682,35 @@ use {"nvim-treesitter/nvim-treesitter", nvim_lsp.tsserver.setup{} -- sudo npm install -g yaml-language-server 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 nvim_lsp.pyright.setup{ @@ -711,10 +739,10 @@ use {"nvim-treesitter/nvim-treesitter", python = { { 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, lintIgnoreExitCode = true, - lintFormats = {"%f:%l:%c: %t%n%n%n %m"}, - lintSource = "flake8" }, { formatCommand = "isort --stdout --profile black --force-single-line-imports -",