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
This commit is contained in:
Aditya Pal 2024-08-29 17:27:53 +05:30 committed by GitHub
parent a99832088a
commit b4d9d26020
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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?