🚨 Lint config updates

This commit is contained in:
Nikhil Badyal
2024-04-11 23:41:58 +05:30
parent 9f8a7cc836
commit 676435c13f
+5 -4
View File
@@ -1,5 +1,9 @@
[tool.ruff] [tool.ruff]
line-length = 120 line-length = 120
target-version = "py311"
fix = true
show-fixes = true
[tool.ruff.lint]
select = [ "ALL"] select = [ "ALL"]
ignore = [ ignore = [
"D401", "D401",
@@ -13,10 +17,7 @@ ignore = [
"UP004", #useless-object-inheritance "UP004", #useless-object-inheritance
"PLR0911" #too many returns "PLR0911" #too many returns
] ]
target-version = "py311" [tool.ruff.lint.pydocstyle]
fix = true
show-fixes = true
[tool.ruff.pydocstyle]
convention = "numpy" convention = "numpy"
[tool.docformatter] [tool.docformatter]