-
For example:
```rust
#[cfg(target_arch = "x86")]
fn foo() {
unsafe { asm!("0: jmp 0b") };
}
```
This currently raises `binary_asm_labels` only if targeting x86. Ideally we would be able…
-
[Embark](https://github.com/EmbarkStudios/cargo-deny/blob/76ca38bc09e23ec023806e385ec66e1a3b2ebed1/.cargo/config.toml) has some nice lints in its list like
`to_string applied to a type that impleme…
-
Our previous Pylint version was 2.8, and I recently upgraded it to 2.16 in https://github.com/Qiskit/qiskit-terra/commit/041877bfc436cb7d8ddc799ab663ad1e62c08ff7. To facilitate landing it, I disabled …
-
### Description
In [Arti](https://gitlab.torproject.org/tpo/core/arti) have things like the following:
```
#[cfg(test)]
mod test {
// @@ begin test lint list maintained by maint/add_warning @…
-
Consider a function like this:
```rust
#[no_mangle]
extern "C" fn example() {
// does stuff
}
```
The following change is non-breaking, since it's equivalent:
```rust
#[export_name = "e…
-
Dear Pistocop,
Hope you're well! Thanks for putting together this cool example of how to build a what's app bot to chat like myself. I'm running into an error when running the Train a GTP2 model se…
-
I think there are two perspectives ruff users may have:
* using ruff as a replacement for an existing linter (such as pylint or flake8)
* using ruff from the get-go
The README currently groups …
-
Right now there are several checks done by `cargo publish`. Unfortunately there isn't a concise list of the necessary requirements for publishing a crate. The only way to tell is `cargo publish` or `c…
-
**Is your feature request related to a problem?**
Since the new Lint action was introduced [by Eric](https://github.com/opensearch-project/dashboards-observability/pull/1301), there are lots of lint …
-
### Problem
I expect to be able to set lints.workspace to false to explicitly opt out of the workspace lints.
Currently this is not allowed.
It would also be helpful for a potential lint like htt…