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

Issue/update random snow interface #1727

Conversation

MarognaLorenzo
Copy link
Contributor

Fixing issue 1628.

Created new interface for RandomSnow following #1704.
In the InitSchema class, snow_point_range is simply declared as Tuple[ float, float ] because the ZeroOneRangeType was automatically sorting elements in the range tuple, failing some tests.

Copy link
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

Hey @MarognaLorenzo - I've reviewed your changes and they look great!

Here's what I looked at during the review
  • 🟡 General issues: 3 issues found
  • 🟢 Security: all looks good
  • 🟡 Testing: 1 issue found
  • 🟢 Complexity: all looks good

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment to tell me if it was helpful.

albumentations/augmentations/transforms.py Show resolved Hide resolved
albumentations/augmentations/transforms.py Show resolved Hide resolved
albumentations/augmentations/transforms.py Show resolved Hide resolved
tests/test_transforms.py Show resolved Hide resolved
@ternaus
Copy link
Collaborator

ternaus commented May 20, 2024

Made small changes on top of this pr in #1732 and merged.

@ternaus ternaus closed this May 20, 2024
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

2 participants