enable flake8 F error codes

old-commit-hash: d204d87b95
commatwo_master
Adeeb Shihadeh 5 years ago
parent 3d228f47ad
commit d8adab2ce5
  1. 2
      .pre-commit-config.yaml
  2. 3
      common/transformations/orientation.py

@ -20,7 +20,7 @@ repos:
- id: flake8
exclude: '^(pyextra)|(external)|(cereal)|(rednose)|(panda)|(laika)|(opendbc)|(laika_repo)|(rednose_repo)|(selfdrive/debug)/'
args:
- --select=E112,E113,E304,E501,E502,E701,E702,E703,E71,E72,E731,W191,W6
- --select=F,E112,E113,E304,E501,E502,E701,E702,E703,E71,E72,E731,W191,W6
- --max-line-length=240
- --statistics
- repo: local

@ -8,8 +8,7 @@ from common.transformations.transformations import (ecef_euler_from_ned_single,
quat2euler_single,
quat2rot_single,
rot2euler_single,
rot2quat_single,
rot_matrix)
rot2quat_single)
def numpy_wrap(function, input_shape, output_shape):

Loading…
Cancel
Save