From b4d9d26020970f6a3f8a272c148c482fd7dc5108 Mon Sep 17 00:00:00 2001 From: Aditya Pal Date: Thu, 29 Aug 2024 17:27:53 +0530 Subject: [PATCH] Update faq.md to highlight changes to src (#13145) This attempts to close https://github.com/astral-sh/ruff/issues/13134 ## Summary Documentation change to address https://github.com/astral-sh/ruff/issues/13134 ## Test Plan Markdown Changes were previewed --- docs/faq.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/docs/faq.md b/docs/faq.md index ab1af20abcc12..3718b85c0b6cc 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -103,13 +103,7 @@ conflicts with the isort rules, like `I001`). Beyond the rule set, Ruff's primary limitation vis-à-vis Flake8 is that it does not support custom lint rules. (Instead, popular Flake8 plugins are re-implemented in Rust as part of Ruff itself.) - -There are a few other minor incompatibilities between Ruff and the originating Flake8 plugins: - -- Ruff doesn't implement all the "opinionated" lint rules from flake8-bugbear. -- Depending on your project structure, Ruff and isort can differ in their detection of first-party - code. (This is often solved by modifying the `src` property, e.g., to `src = ["src"]`, if your - code is nested in a `src` directory.) +One minor difference is that Ruff doesn't include all the 'opinionated' rules from flake8-bugbear. ## How does Ruff's linter compare to Pylint?