mirror of
https://github.com/astral-sh/ruff.git
synced 2026-10-28 10:45:37 +08:00
[pylint] Stabilize invalid-bool-return-type (PLE0304) (#26914)
This commit is contained in:
1 parent
5fb26c30a3
commit
80f0da716b
1 file changed
+1
-1
@@ -35,7 +35,7 @@ use crate::checkers::ast::Checker;
|
||||
/// ## References
|
||||
/// - [Python documentation: The `__bool__` method](https://docs.python.org/3/reference/datamodel.html#object.__bool__)
|
||||
#[derive(ViolationMetadata)]
|
||||
#[violation_metadata(preview_since = "v0.3.3")]
|
||||
#[violation_metadata(stable_since = "NEXT_RUFF_VERSION")]
|
||||
pub(crate) struct InvalidBoolReturnType;
|
||||
|
||||
impl Violation for InvalidBoolReturnType {
|
||||
|
||||
Reference in new issue
Block a user