Open ifosch opened 8 years ago
Updated:
$ flake8 --max-complexity 5
./accloudtant/aws/reports.py:27:1: C901 'Reports.__init__' is too complex (9)
./tests/aws/conftest.py:58:1: C901 'ec2_resource' is too complex (14)
./tests/aws/conftest.py:95:1: C901 'ec2_client' is too complex (10)
./tests/aws/conftest.py:135:1: C901 'mock_requests_get' is too complex (6)
./tests/aws/conftest.py:160:1: C901 'process_ec2' is too complex (7)
Check errors when using
flake8
on repo root:It would be great to fix these over complexity, even when happening in tests.