Update development and CI configurations

- Use default flake8-max-complexity (reopens #8)
- Run code analysis before tests on CI