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

add default value for resize #23

Merged
merged 1 commit into from Apr 13, 2022
Merged

add default value for resize #23

merged 1 commit into from Apr 13, 2022

Conversation

davanstrien
Copy link
Owner

No description provided.

@sourcery-ai
Copy link
Contributor

sourcery-ai bot commented Apr 13, 2022

Sourcery Code Quality Report

Merging this PR leaves code quality unchanged.

Quality metrics Before After Change
Complexity 5.82 ⭐ 5.82 ⭐ 0.00
Method Length 68.75 🙂 68.75 🙂 0.00
Working memory 10.00 😞 10.00 😞 0.00
Quality 62.87% 🙂 62.87% 🙂 0.00%
Other metrics Before After Change
Lines 147 147 0
Changed files Quality Before Quality After Quality Change
src/hugit/image_dataset.py 62.87% 🙂 62.87% 🙂 0.00%

Here are some functions in these files that still need a tune-up:

File Function Complexity Length Working Memory Quality Recommendation
src/hugit/image_dataset.py ImageDataset.from_image_directory 12 🙂 193 😞 13 😞 42.24% 😞 Try splitting into smaller methods. Extract out complex expressions
src/hugit/image_dataset.py load_image_dataset 2 ⭐ 112 🙂 14 😞 58.79% 🙂 Extract out complex expressions

Legend and Explanation

The emojis denote the absolute quality of the code:

  • ⭐ excellent
  • 🙂 good
  • 😞 poor
  • ⛔ very poor

The 👍 and 👎 indicate whether the quality has improved or gotten worse with this pull request.


Please see our documentation here for details on how these metrics are calculated.

We are actively working on this report - lots more documentation and extra metrics to come!

Help us improve this quality report!

@davanstrien davanstrien merged commit a9ac56b into main Apr 13, 2022
@davanstrien davanstrien deleted the default-size branch April 13, 2022 15:58
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.

None yet

1 participant