maint: misc fixes and improvements by nandgator · Pull Request #249 · python-validators/validators

@nandgator

- sorts import using `isort`
- return `False` on empty `value`
- fix invalid parameter name in `url` docstring
- use tuple when iterating over sequence
- `# project` is replaced by `# local`
- `pyaml` is an external library which provides `yaml`
- pre-commit-config now has `black`, `isort` and `flake8`
- tox can now run tests, formatting, linting and type-checking
- `i18n` exclusion is only temporary
- re-order some configurations in `pyproject.toml`