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 = [
99
99
100
100
101
101
[tool .ruff ]
102
+ preview = true
103
+ force-exclude = true
104
+
102
105
[tool .ruff .lint ]
103
106
extend-select = [" ALL" ]
104
107
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__
105
112
" D203" , # 1 blank line required before class docstring
106
113
" D213" , # Multi-line docstring summary should start at the second line
114
+ " FIX" , # flake8-fixme
107
115
" ISC001" , # Conflicts with formatter
108
116
]
109
117
118
+ [tool .ruff .lint .flake8-import-conventions ]
119
+ banned-from = [" array_api_typing" ]
120
+
121
+ [tool .ruff .lint .flake8-import-conventions .extend-aliases ]
122
+ array_api_typing = " xpt"
123
+
110
124
[tool .ruff .lint .isort ]
111
125
combine-as-imports = true
112
126
extra-standard-library = [" typing_extensions" ]
113
127
known-local-folder = [" array_api_typing" ]
114
128
115
129
[tool .ruff .format ]
116
130
docstring-code-format = true
131
+ line-ending = " lf"
132
+ preview = true
You can’t perform that action at this time.
0 commit comments