Write a function to flatten the nesting in an arbitrary list of values.
For example:
[[1, 2, [3, 4]], [3, 4], [[[5]]]] -> [1, 2, 3, 4, 3, 4, 5]
To deploy project on your local machine create new virtual environment and execute this command:
pip install -r requirements.txt
To run all style checkers and tests use commands:
pytest
flake8 flatten
pylint flatten
mypy flatten.py