Skip to content

Multi part validation#5

Closed
gee-forr wants to merge 9 commits intobaxang:masterfrom
gee-forr:4-part-validation
Closed

Multi part validation#5
gee-forr wants to merge 9 commits intobaxang:masterfrom
gee-forr:4-part-validation

Conversation

@gee-forr
Copy link

Hi there,

I came across an issue where I couldn't validate codes longer than 3 parts. Turns out, it wasnt documented, and I just needed to add the parts as a second positional argument.

This however is inconsistent with the interface for the generate method.

I've updated the validate method's arguments to match those of generates, and have also added a feature to set a default parts length.

I've also updated the readme (but only in english, I don't speak Korean unfortunately), and bumped the version.

I hope you find the changes to your liking :) Thanks again.

Choose a reason for hiding this comment

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

Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.

Choose a reason for hiding this comment

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

Unnecessary spacing detected.
Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.

Choose a reason for hiding this comment

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

Unnecessary spacing detected.

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