ruff/crates/ruff
Dhruv Manilawala d22f3402e1
Remove result_like dependency (#11793)
## Summary

This PR removes the `result-like` dependency and instead implement the
required functionality. The motivation being that `noqa.is_enabled()` is
easier to read than `noqa.into()`.

For context, I was just trying to understand the syntax error workflow
and I saw these flags which were being converted via `into`. I always
find `into` confusing because you never know what's it being converted
into unless you know the type. Later realized that it's just a boolean
flag. After removing the usages from these two flags, it turns out that
the dependency is only being used in one rule so I thought to remove
that as well.

## Test Plan

`cargo insta test`
2024-06-07 11:53:22 +05:30
..
resources/test/fixtures Rename ruff_cli crate to ruff (#9557) 2024-01-16 17:47:01 -05:00
src Remove result_like dependency (#11793) 2024-06-07 11:53:22 +05:30
tests docs: Minor formatting typo in F401 example. (#11601) 2024-05-29 11:14:53 -04:00
build.rs Rename ruff_cli crate to ruff (#9557) 2024-01-16 17:47:01 -05:00
Cargo.toml Bump version to v0.4.8 (#11755) 2024-06-05 20:51:31 +05:30