DOB Validation
Project description
This is a plugin for pretix.
DOB Validation
Development setup
Make sure that you have a working pretix development setup.
Clone this repository.
Activate the virtual environment you use for pretix development.
Execute python setup.py develop within this directory to register this application with pretix’s plugin registry.
Execute make within this directory to compile translations.
Restart your local pretix server. You can now use the plugin from this repository for your events by enabling it in the ‘plugins’ tab in the settings.
This plugin has CI set up to enforce a few code style rules. To check locally, you need these packages installed:
pip install flake8 isort black docformatter
To check your plugin for rule violations, run:
docformatter --check -r . black --check . isort -c . flake8 .
You can auto-fix some of these issues by running:
docformatter -r . isort . black .
To automatically check for these issues before you commit, you can run .install-hooks.
License
Copyright 2021 pretix
Released under the terms of the Apache License 2.0
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pretix-dob-validation-1.1.0.tar.gz
.
File metadata
- Download URL: pretix-dob-validation-1.1.0.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.28.1 requests-toolbelt/0.10.1 urllib3/1.26.12 tqdm/4.64.1 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 476f4821e0cc184b02a08f88d01a84d3fd8cf79169b7ffb23c292498420725fc |
|
MD5 | ca7f7857df11a1e8becb9011a6233d16 |
|
BLAKE2b-256 | cecb3b0416d17f928d3bba8ade18d6e314623e26f3c9c365abafcf7018ba20ed |
File details
Details for the file pretix_dob_validation-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: pretix_dob_validation-1.1.0-py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.28.1 requests-toolbelt/0.10.1 urllib3/1.26.12 tqdm/4.64.1 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd758f2185e047d3f8ca3673cf4be6bdea81b3e08a46b0675a308c7d3f30ba7d |
|
MD5 | de03c9d050bb7260465feb0ee48665e2 |
|
BLAKE2b-256 | 16c4e28fe73e6357d143118503f64b94d3d533334339798104e4260b848446fe |