This application validates a password based on criteria set.
Please ensure you have a version of Python3 installed on your system.
https://www.python.org/downloads/
Create a virtual environment and install the dependencies:
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements/generated/requirements.txt
To run the application, call password_validator.py with the password given as an arguement:
python3 app/password_validator.py Password123456_
To test the application run:
pytest
To run the linter on the code, run the below command:
ruff check
To format the code via ruff, run the below command:
ruff format
To update the requirements, run the below command once you've made changes to requirements/source/requirements.in:
pip-compile --output-file=requirements/generated/requirements.txt requirements/source/requirements.in