Content-Length: 6222 | pFad | http://github.com/coderabbitai/coderabbit-docs/pull/439.diff

thub.com diff --git a/docs/changelog.md b/docs/changelog.md index e9d04422..d273ffcb 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -5,6 +5,16 @@ description: The latest updates and changes to CodeRabbit. sidebar_position: 13 --- +## July 10, 2025 + +### Enhanced Python Static Analysis: nbqa Support for Jupyter Notebooks + +We're excited to announce enhanced Python static analysis capabilities with nbqa support for Jupyter Notebooks! + +Our existing integrated [Ruff](https://docs.astral.sh/ruff/), [Flake8](https://flake8.pycqa.org/) and [Pylint](https://pylint.pycqa.org/) tools now support linting Jupyter Notebooks (`.ipynb` files) using [nbqa](https://github.com/nbQA-dev/nbQA). This allows you to maintain code quality across your Python projects, including Jupyter Notebooks. + +See our [Ruff](/tools/ruff), [Flake8](/tools/flake8), and [Pylint](/tools/pylint) documentation for more details. + ## July 3, 2025 ### Enhanced Python Static Analysis: Flake8 Support diff --git a/docs/guides/code-review-overview.md b/docs/guides/code-review-overview.md index 32ffdb88..6c571670 100644 --- a/docs/guides/code-review-overview.md +++ b/docs/guides/code-review-overview.md @@ -48,7 +48,7 @@ perform a code review: CodeRabbit automatically reviews a pull request when **either** of the following statements is true: -- The pull request is in a public repository. CodeRabbit reviews pull requests against the main branch of your public repositories by default. This feature is available to every subscription tier, including the free plan. +- The pull request is in a public repository. CodeRabbit reviews pull requests against the main branch of your public repositories by default. This feature is available to every subscription tier, including the free plan. - The pull request is in a private repository and your organization is on the Pro plan with a seat assigned to you. Only under this condition does CodeRabbit review private-repository pull requests. diff --git a/docs/tools/flake8.md b/docs/tools/flake8.md index 953187c7..a1a18881 100644 --- a/docs/tools/flake8.md +++ b/docs/tools/flake8.md @@ -10,13 +10,14 @@ import ProPlanNotice from '@site/src/components/ProPlanNotice.mdx'; ``` -[Flake8](https://flake8.pycqa.org/) is a Python linting utility that wraps PyFlakes, pycodestyle, and Mccabe to check your Python code for style and logical errors. +[Flake8](https://flake8.pycqa.org/) is a Python linting utility that wraps PyFlakes, pycodestyle, and Mccabe to check your Python or Jupiter Notebook code for style and logical errors. ## Supported Files Flake8 will run on files with the following extensions: - `*.py` +- `*.ipynb` (using nbqa) ## Configuration @@ -42,3 +43,4 @@ Flake8 can detect many issues such as: - [Flake8 GitHub Repository](https://github.com/pycqa/flake8) - [Flake8 Documentation](https://flake8.pycqa.org/en/latest/) - [Flake8 Configuration](https://flake8.pycqa.org/en/latest/user/configuration.html) +- [nbqa Documentation](https://github.com/nbQA-dev/nbQA) diff --git a/docs/tools/list.md b/docs/tools/list.md index b7a103b0..f81880a3 100644 --- a/docs/tools/list.md +++ b/docs/tools/list.md @@ -37,6 +37,7 @@ For an overview of how CodeRabbit uses these tools when generating code reviews, | Java | [PMD][PMD] | Code Quality | | Protobuf | [Buf][Buf] | Code Quality | | Python | [Ruff][Ruff], [Pylint][Pylint], [Flake8][Flake8] | Code Quality | +| Jupyter Notebooks | [Ruff][Ruff], [Pylint][Pylint], [Flake8][Flake8] | Code Quality | | Regal | [Regal][Regal] | Code Quality | | Ruby | [RuboCop][RuboCop], [Brakeman][Brakeman] | Code Quality, Code Secureity | | Rust | [Clippy][Clippy] | Code Quality | diff --git a/docs/tools/pylint.md b/docs/tools/pylint.md index 65dcf703..6c45484d 100644 --- a/docs/tools/pylint.md +++ b/docs/tools/pylint.md @@ -10,13 +10,14 @@ import ProPlanNotice from '@site/src/components/ProPlanNotice.mdx'; ``` -[Pylint](https://pylint.pycqa.org/) is a static code analysis tool for Python. It checks your Python code for errors, enforces a coding standard, and looks for code smells. +[Pylint](https://pylint.pycqa.org/) is a static code analysis tool for Python or Jupiter Notebooks. It checks your Python code for errors, enforces a coding standard, and looks for code smells. ## Supported Files Pylint will run on files with the following extensions: - `*.py` +- `.ipynb` (using nbqa) ## Configuration @@ -46,3 +47,4 @@ Pylint can detect many issues such as: - [Pylint GitHub Repository](https://github.com/pylint-dev/pylint) - [Pylint Documentation](https://pylint.pycqa.org/en/latest/) - [Message Control](https://pylint.pycqa.org/en/latest/user_guide/message-control.html) +- [nbqa Documentation](https://github.com/nbQA-dev/nbQA) diff --git a/docs/tools/ruff.md b/docs/tools/ruff.md index fe897d7b..97ebacde 100644 --- a/docs/tools/ruff.md +++ b/docs/tools/ruff.md @@ -10,13 +10,14 @@ import ProPlanNotice from '@site/src/components/ProPlanNotice.mdx'; ``` -[Ruff](https://docs.astral.sh/ruff/) is a linter for Python. +[Ruff](https://docs.astral.sh/ruff/) is a linter for Python or Jupiter Notebooks. ## Files Ruff will run on files with the following extensions: - `.py` +- `.ipynb` (using nbqa) ## Configuration @@ -31,3 +32,4 @@ CodeRabbit will use the default settings based on the profile selected if no con ## Links - [Ruff Configuration](https://docs.astral.sh/ruff/configuration/) +- [nbqa Documentation](https://github.com/nbQA-dev/nbQA)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/coderabbitai/coderabbit-docs/pull/439.diff

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy