Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests/tools/test_ruff_works.py::test_ruff_works fails with latest ruff 0.1.2 #834

Closed
GaetanLepage opened this issue Oct 25, 2023 · 2 comments

Comments

@GaetanLepage
Copy link
Contributor

Yesterday ruff 0.1.2 was released.
With this new version, the following test fails:

E       AssertionError: assert 'Found 13 err...ed but unused' == 'Found 13 err...ed but unused'
E           Found 13 errors.
E         - [*] 10 potentially fixable with the --fix option.
E         ?       ------------
E         + [*] 10 fixable with the `--fix` option.
E         ?                         +     +
E           tests/data/notebook_for_testing.ipynb:cell_1:1:8: F401 [*] `os` imported but unused
E           tests/data/notebook_for_testing.ipynb:cell_1:3:8: F401 [*] `glob` imported but unused...
E
E         ...Full output truncated (11 lines hidden), use '-vv' to show

tests/tools/test_ruff_works.py:72: AssertionError
@MarcoGorelli
Copy link
Collaborator

fixed, thanks

@GaetanLepage
Copy link
Contributor Author

Indeed ! thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants