# Ruff Authors - Ruff Configuration - Rules Selection (Highlights) ![rw-book-cover|256](https://readwise-assets.s3.amazonaws.com/static/images/article1.be68295a7e40.png) ## Highlights - To ignore a violation inline, Ruff uses a `noqa` system similar to [Flake8](https://flake8.pycqa.org/en/3.1.1/user/ignoring-errors.html). To ignore an individual violation, add `# noqa: {code}` to the end of the line ([View Highlight](https://read.readwise.io/read/01h11we3vvbjf5sm94j3yv0mg1)) ^534127578 - To ignore a specific rule across an entire file, add `# ruff: noqa: {code}` to any line in the file ([View Highlight](https://read.readwise.io/read/01h11wej386a1kvxzsk8v92yws)) ^534127598 #python - Note that Ruff will also respect Flake8's `# flake8: noqa` directive, and will treat it as equivalent to `# ruff: noqa`. ([View Highlight](https://read.readwise.io/read/01h11wf3mgmrm69ga2vnc9n80g)) ^534127661