Skip to content

style: format code with Autopep8, isort and Ruff Formatter#11

Open
deepsource-autofix[bot] wants to merge 1 commit into
mainfrom
deepsource-transform-180c4845
Open

style: format code with Autopep8, isort and Ruff Formatter#11
deepsource-autofix[bot] wants to merge 1 commit into
mainfrom
deepsource-transform-180c4845

Conversation

@deepsource-autofix

@deepsource-autofix deepsource-autofix Bot commented Dec 27, 2024

Copy link
Copy Markdown
Contributor

This commit fixes the style issues introduced in 1ed1e17 according to the output
from Autopep8, isort and Ruff Formatter.

Details: None

Summary by Sourcery

Chores:

  • Apply automatic style fixes to the codebase.

This commit fixes the style issues introduced in 1ed1e17 according to the output
from Autopep8, isort and Ruff Formatter.

Details: None
@sourcery-ai

sourcery-ai Bot commented Dec 27, 2024

Copy link
Copy Markdown

Reviewer's Guide by Sourcery

This pull request applies style fixes using Autopep8, isort, and Ruff Formatter to the codebase. It primarily focuses on removing unnecessary blank lines and improving code formatting for better readability.

Class diagram for CrossAttentionFusion model

classDiagram
    class CrossAttentionFusion {
        +__init__(d1, d2, d3, hidden_dim, output_dim, num_heads)
        +forward(f1, f2, f3)
        -cross_attention: MultiheadAttention
        -fc1: Linear
    }
    note for CrossAttentionFusion "Style changes only:
Improved formatting of
method parameters and
function calls"
Loading

File-Level Changes

Change Details Files
Formatted code with Autopep8, isort, and Ruff Formatter.
  • Removed extra blank lines in function calls and definitions.
  • Combined multi-line expressions into single lines where applicable.
  • Improved indentation and spacing for better code structure.
  • Standardized import order and style.
src/everyai/classfier/classfy.py
src/everyai/classfier/multi_feature/model.py

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time. You can also use
    this command to specify where the summary should be inserted.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

We have skipped reviewing this pull request. It seems to have been created by a bot (hey, deepsource-autofix[bot]!). We assume it knows what it's doing!

@deepsource-io

deepsource-io Bot commented Dec 27, 2024

Copy link
Copy Markdown
Contributor

Here's the code health analysis summary for commits 1ed1e17..4dc98ee. View details on DeepSource ↗.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource Python LogoPython❌ Failure
❗ 21 occurences introduced
🎯 22 occurences resolved
View Check ↗

💡 If you’re a repository administrator, you can configure the quality gates from the settings.

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.

0 participants