Make network_policy flake8 compatible.

Change-Id: I1b188cf206a49eb951c2fb7a9f60dbf855cf822d
Merge "Make network_policy flake8 compatible."