Skip to content

Add ipv4_strict - don't allow leading 0 in octects #158

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

Closed
wants to merge 1 commit into from
Closed

Add ipv4_strict - don't allow leading 0 in octects #158

wants to merge 1 commit into from

Conversation

dabrown645
Copy link

I needed this for one of my apps so I thought I would take a crack at it.

@yozachar yozachar added outdated Issue/PR: Open for more than 3 months maintenance PR: Alters existing source code labels Mar 8, 2023
yozachar added a commit to yozachar/pyvalidators that referenced this pull request Mar 10, 2023
- uses Python's powerful inbuilt `ipaddress` library
- CIDR validation is now default via func argument
- compiles ip address test cases into a single module
- fixes bad `poetry.lock` file

**Related items**

*Issues*

- Closes python-validators#152

*PRs*

- Closes python-validators#91
- Closes python-validators#158
yozachar added a commit to yozachar/pyvalidators that referenced this pull request Mar 11, 2023
- uses Python's powerful inbuilt `ipaddress` library
- CIDR validation is now default via func argument
- compiles ip address test cases into a single module
- fixes bad `poetry.lock` file

**Related items**

*Issues*

- Closes python-validators#152

*PRs*

- Closes python-validators#158
@yozachar yozachar closed this in e4f3adf Mar 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance PR: Alters existing source code outdated Issue/PR: Open for more than 3 months
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants