Ignore more linter stuff

This commit is contained in:
2023-03-18 04:19:20 +01:00
parent 9377552d3b
commit 09abc0c93a

View File

@ -34,7 +34,7 @@ target-version = ["py311"]
preview = true preview = true
[tool.djlint] [tool.djlint]
ignore = "D004,D018,J018,T001" ignore = "D004,D018,J018,T001,J004"
profile = "jinja" profile = "jinja"
max_line_length = 120 max_line_length = 120
format_attribute_template_tags = true format_attribute_template_tags = true
@ -90,17 +90,18 @@ select = [
"RUF", "RUF",
] ]
ignore = [ ignore = [
"D100", # pydocstyle - missing docstring in public module "D100", # pydocstyle - missing docstring in public module
"D101", # pydocstyle - missing docstring in public class "D101", # pydocstyle - missing docstring in public class
"D102", # pydocstyle - missing docstring in public method "D102", # pydocstyle - missing docstring in public method
"D103", # pydocstyle - missing docstring in public function "D103", # pydocstyle - missing docstring in public function
"D104", # pydocstyle - missing docstring in public package "D104", # pydocstyle - missing docstring in public package
"D105", # pydocstyle - missing docstring in magic method "D105", # pydocstyle - missing docstring in magic method
"D106", # pydocstyle - missing docstring in public nested class "D106", # pydocstyle - missing docstring in public nested class
"D107", # pydocstyle - missing docstring in __init__ "D107", # pydocstyle - missing docstring in __init__
"G002", # Allow % in logging "G002", # Allow % in logging
"UP031", # Allow % in logging "UP031", # Allow % in logging
"B008", # Allow Form() as a default value "B008", # Allow Form() as a default value
"PGH003", # Allow # type: ignore
] ]
[tool.ruff.pydocstyle] [tool.ruff.pydocstyle]