Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Format Python code with psf/black push #305

Merged
merged 11 commits into from
Jul 26, 2024
Merged

Conversation

github-actions[bot]
Copy link

@github-actions github-actions bot commented Jul 26, 2024

There appear to be some python formatting errors in d8dee5b. This pull request
uses the psf/black formatter to fix these issues.

Copy link
Contributor

coderabbitai bot commented Jul 26, 2024

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

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

Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share

@@ -577,10 +577,16 @@
in_channels=3,
classes=2,
)
preprocess_input = get_preprocessing_fn(encoder["model"], pretrained='imagenet')
print(f'Success: Created {arch["model"]} with {encoder["model"]}')
preprocess_input = get_preprocessing_fn(

Check warning

Code scanning / Prospector (reported by Codacy)

local variable 'preprocess_input' is assigned to but never used (F841)

local variable 'preprocess_input' is assigned to but never used (F841)
Copy link

codacy-production bot commented Jul 26, 2024

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
+0.00% (target: -1.00%)
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (ce2ec5b) 2127 1737 81.66%
Head commit (039c2a9) 2127 (+0) 1737 (+0) 81.66% (+0.00%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#305) 0 0 ∅ (not applicable)

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences


🚀 Don’t miss a bit, follow what’s new on Codacy.

Codacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more

Copy link

sonarcloud bot commented Jul 26, 2024

@Smartappli Smartappli merged commit ca6edb4 into Smartappli-patch-26 Jul 26, 2024
4 checks passed
Smartappli added a commit that referenced this pull request Jul 26, 2024
Merge pull request #305 from Smartappli/black
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.

1 participant