File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -99,18 +99,34 @@ test = [
9999
100100
101101[tool .ruff ]
102+ preview = true
103+ force-exclude = true
104+
102105 [tool .ruff .lint ]
103106 extend-select = [" ALL" ]
104107 ignore = [
108+ " CPY" , # Missing copyright notice at top of file (NOTE revisit when autofixable)
109+ " COM812" , # Conflicts with formatter
110+ " D105" , # Missing docstring in magic method
111+ " D107" , # Missing docstring in __init__
105112 " D203" , # 1 blank line required before class docstring
106113 " D213" , # Multi-line docstring summary should start at the second line
114+ " FBT" , # flake8-boolean-trap
115+ " FIX" , # flake8-fixme
107116 " ISC001" , # Conflicts with formatter
108117 ]
109118
119+ [tool .ruff .lint .flake8-import-conventions ]
120+ banned-from = [" array_api_typing" ]
121+
122+ [tool .ruff .lint .flake8-import-conventions .extend-aliases ]
123+ array_api_typing = " xpt"
124+
110125 [tool .ruff .lint .isort ]
111126 combine-as-imports = true
112127 extra-standard-library = [" typing_extensions" ]
113128 known-local-folder = [" array_api_typing" ]
114129
115130 [tool .ruff .format ]
116131 docstring-code-format = true
132+ line-ending = " lf"
You can’t perform that action at this time.
0 commit comments