Update flake8 requirement from ~=4.0.1 to ~=5.0.4
Updates the requirements on [flake8](https://github.com/pycqa/flake8) to permit the latest version.
- [Release notes](https://github.com/pycqa/flake8/releases)
- [Commits](https://github.com/pycqa/flake8/compare/4.0.1...5.0.4)
---
updated-dependencies:
- dependency-name: flake8
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>