File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -149,11 +149,15 @@ ignore = [
149149]
150150
151151[tool .ruff .lint .extend-per-file-ignores ]
152- "tests/*/*ipynb" = [" E402" ] #
152+ "tests/*/*ipynb" = [" E402" ] # module-import-not-at-top-of-file
153153
154154[tool .ruff .lint .isort ]
155155force-sort-within-sections = true
156156
157+ [tool .ruff .format ]
158+ # These are reference outputs and reformatting them makes a mess
159+ exclude = [" tests/test_codecell_file/*ipynb" ]
160+
157161[tool .pytest .ini_options ]
158162filterwarnings = [
159163 ' error' ,
Original file line number Diff line number Diff line change 1919 "source" : [
2020 " # flake8: noqa\n " ,
2121 " \n " ,
22- " import numpy as np"
22+ " import numpy as np\n "
2323 ]
2424 }
2525 ],
Original file line number Diff line number Diff line change 1919 "source" : [
2020 " # flake8: noqa\n " ,
2121 " \n " ,
22- " import numpy as np"
22+ " import numpy as np\n "
2323 ]
2424 }
2525 ],
You can’t perform that action at this time.
0 commit comments