Skip to content

[WEB-5044] fix: ruff lint and format errors#7868

Merged
dheeru0198 merged 3 commits intopreviewfrom
fix-pylint-format
Sep 29, 2025
Merged

[WEB-5044] fix: ruff lint and format errors#7868
dheeru0198 merged 3 commits intopreviewfrom
fix-pylint-format

Conversation

@sriramveeraghanta
Copy link
Copy Markdown
Member

@sriramveeraghanta sriramveeraghanta commented Sep 29, 2025

Description

  • Updated the ruff line length to 120
  • Fixed all lint errors
  • Formatted all files after changing the ruff settings

Type of Change

  • Code refactoring

Copilot AI review requested due to automatic review settings September 29, 2025 13:35
@makeplane
Copy link
Copy Markdown

makeplane Bot commented Sep 29, 2025

Linked to Plane Work Item(s)

This comment was auto-generated by Plane

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Sep 29, 2025

Important

Review skipped

More than 25% of the files skipped due to max files limit. The review is being skipped to prevent a low-quality review.

154 files out of 261 files are above the max files limit of 100. Please upgrade to Pro plan to get higher limits.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix-pylint-format

Tip

👮 Agentic pre-merge checks are now available in preview!

Pro plan users can now enable pre-merge checks in their settings to enforce checklists before merging PRs.

  • Built-in checks – Quickly apply ready-made checks to enforce title conventions, require pull request descriptions that follow templates, validate linked issues for compliance, and more.
  • Custom agentic checks – Define your own rules using CodeRabbit’s advanced agentic capabilities to enforce organization-specific policies and workflows. For example, you can instruct CodeRabbit’s agent to verify that API documentation is updated whenever API schema files are modified in a PR. Note: Upto 5 custom checks are currently allowed during the preview period. Pricing for this feature will be announced in a few weeks.

Please see the documentation for more information.

Example:

reviews:
  pre_merge_checks:
    custom_checks:
      - name: "Undocumented Breaking Changes"
        mode: "warning"
        instructions: |
          Pass/fail criteria: All breaking changes to public APIs, CLI flags, environment variables, configuration keys, database schemas, or HTTP/GraphQL endpoints must be documented in the "Breaking Change" section of the PR description and in CHANGELOG.md. Exclude purely internal or private changes (e.g., code not exported from package entry points or explicitly marked as internal).

Please share your feedback with us on this Discord post.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR focuses on updating the Ruff linting configuration by increasing the line length limit from 88 to 120 characters and formatting the entire codebase to comply with the new settings. The changes primarily involve consolidating multi-line code onto single lines where appropriate and correcting formatting inconsistencies throughout the Python codebase.

  • Increased Ruff line length from 88 to 120 characters in pyproject.toml
  • Reformatted all Python files to comply with the new line length settings
  • Fixed string quote consistency by converting single quotes to double quotes in multiple files

Reviewed Changes

Copilot reviewed 259 out of 261 changed files in this pull request and generated no comments.

File Description
apps/api/pyproject.toml Updated line-length configuration from 88 to 120
Multiple Python files Reformatted code to fit new line length, consolidated multi-line statements
String literals Converted single quotes to double quotes for consistency

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@dheeru0198 dheeru0198 merged commit 9237f56 into preview Sep 29, 2025
7 of 9 checks passed
@dheeru0198 dheeru0198 deleted the fix-pylint-format branch September 29, 2025 13:45
zy1000 pushed a commit to zy1000/plane that referenced this pull request Oct 1, 2025
* fix: lint errors

* fix: file formatting

* fix: code refactor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants