Skip to content

Commit

Permalink
flake8-import-restrictions errors now use the prefix IMR2 rather than…
Browse files Browse the repository at this point in the history
… I20
  • Loading branch information
francesco-ballarin committed Jul 15, 2023
1 parent 34f299b commit 65708bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ max-line-length = 120
show-source = True
docstring-convention = numpy
inline-quotes = double
i2041_exclude = open_in_cloud_workflow, open_in_cloud_workflow.*
i2045_include = *
i2045_exclude = open_in_cloud_workflow, open_in_cloud_workflow.*
imr241_exclude = open_in_cloud_workflow, open_in_cloud_workflow.*
imr245_include = *
imr245_exclude = open_in_cloud_workflow, open_in_cloud_workflow.*
ignore = ANN101, W503
exclude = .eggs, build, dist
per-file-ignores =
Expand Down
2 changes: 1 addition & 1 deletion tests/data/add_installation_cells/from_numpy_import.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"metadata": {},
"outputs": [],
"source": [
"from numpy import * # noqa: F401, F403, I2041, I2043, I2045"
"from numpy import * # noqa: F401, F403, IMR241, IMR243, IMR245"
]
}
],
Expand Down

0 comments on commit 65708bc

Please sign in to comment.