Skip to content

Commit 2538a09

Browse files
committed
[Neovim] Turn off more ruff linters
1 parent 88372c9 commit 2538a09

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.config/nvim/after/lsp/ruff.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,16 @@ return {
55
extendSelect = { "ALL" },
66
ignore = {
77
"C90", -- not all functions can be simplified
8+
"COM812", -- my code is autoformatted; if the line doesn't have a comma there's a reason
89
"D1", -- I work with too much code that doesn't have docstrings
910
"DTZ", -- flake8-datetimez doesn't like naive date(time)s
1011
"E501", -- my code is autoformatted; if the line is too long there's a reason
1112
"ERA", -- flake8-eradicate seems to have a lot of false positives
1213
"FIX", -- flake8-fixme wants me to fix everything
1314
"PL", -- I'm not a fan of pylint
15+
"S607", -- while this is reasonable, I don't always know the executable's full path
1416
"TD", -- flake8-todos doesn't like too many TODOs in code I don't own
17+
"TRY003", -- lots of built-in exceptions take the message as an argument
1518
},
1619
fixable = "ALL",
1720
},

0 commit comments

Comments
 (0)