Enable F403 and F999 check

* F403 has already been fix in https://review.openstack.org/#/c/38435/.
* This patch fixes the remaining F999 issue.

Change-Id: Id484a577973bb56168b6d85a5fc909a471e1128c
Merge "Enable F403 and F999 check"