forked from python-validators/validators
-
Notifications
You must be signed in to change notification settings - Fork 0
[pull] master from python-validators:master #30
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
Open
pull
wants to merge
47
commits into
sysfce2:master
Choose a base branch
from
python-validators:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add the pypi package name and example installation step. At the moment users need to click into doc, then click installation to get the package name and install steps. Lets just add this most common of steps to the readme.
Update README.md
fix(domain): accept .onion as a valid TLD
fix(url): add hashtag to allowed fragment characters
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.4 to 3.1.6. - [Release notes](https://github.com/pallets/jinja/releases) - [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst) - [Commits](pallets/jinja@3.1.4...3.1.6) --- updated-dependencies: - dependency-name: jinja2 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
…/jinja2-3.1.6 chore(deps): bump jinja2 from 3.1.4 to 3.1.6 in /package
Validator russian individual tax number
Enhances `validators.url` to allow
- restricting the allowed schemes (e.g. to accept only https,
and nothing else)
- relaxing the allowed schemes to also accept less known schemes
(e.g. ws, wss, ldap, ...)
* the use of `lstrip()` here was a bit too aggressive * `removeprefix()` is only available with python 3.9+
…e via __init__ (#419) * fix(api): remove print function from ru_inn method * feat: add ru_inn method to __init__ * docs(ru_inn): update description from "Russia INN." to "Russia."
* running `doctest` failes Fixes #416 * check docstring examples with pytest * changed line-length due doctest output - bsc_address.py:20:101: E501 Line too long (103 > 100) - all tox env passed * chore: ignore line lenght in specific docs * specifing testpath for pytest * fix: lint rule name * chore: update pytest in requirements file * chore: install module before pytest * fix: ru_inn docttest --------- Co-authored-by: Yozachar <38415384+yozachar@users.noreply.github.com>
* Remove special cases for valid codes The special cases excluded from the validation represent valid codes, used in test environments. * Update test_es.py * Update test_es.py * chore: formatting --------- Co-authored-by: Yozachar <38415384+yozachar@users.noreply.github.com>
* feat(validators): add Mir card number validation * feat: add mir method to __init__ * test(card): add Mir card validation tests * docs(mir): update example valid mir card * fix(tests): update examples mir_cards and drop mir_cards from failed_on_valid_mastercard * fix: rearrangement of imports * fix(tests): update imports * chore: formatting --------- Co-authored-by: Yozachar <38415384+yozachar@users.noreply.github.com>
Bumps [certifi](https://github.com/certifi/python-certifi) from 2024.6.2 to 2024.7.4. - [Commits](certifi/python-certifi@2024.06.02...2024.07.04) --- updated-dependencies: - dependency-name: certifi dependency-version: 2024.7.4 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
chore: prepare for new release
chore: updates changelog
chore: update project classifiers
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.4 to 3.1.6. - [Release notes](https://github.com/pallets/jinja/releases) - [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst) - [Commits](pallets/jinja@3.1.4...3.1.6) --- updated-dependencies: - dependency-name: jinja2 dependency-version: 3.1.6 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
…/jinja2-3.1.6 chore(deps): bump jinja2 from 3.1.4 to 3.1.6 in /package
…/certifi-2024.7.4 chore(deps): bump certifi from 2024.6.2 to 2024.7.4 in /package
Bumps [requests](https://github.com/psf/requests) from 2.32.3 to 2.32.4. - [Release notes](https://github.com/psf/requests/releases) - [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md) - [Commits](psf/requests@v2.32.3...v2.32.4) --- updated-dependencies: - dependency-name: requests dependency-version: 2.32.4 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
…/requests-2.32.4 chore(deps): bump requests from 2.32.3 to 2.32.4 in /package
Add validation to prevent MAC addresses that use both ':' and '-' separators simultaneously, ensuring consistent separator usage as per MAC address format standards.
fix: reject MAC addresses with mixed separators
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )