Gradiant / pyodi

Python Object Detection Insights
https://gradiant.github.io/pyodi/
Mozilla Public License 2.0
189 stars 17 forks source link

Fix precommit issue between black and flake #101

Closed mmeendez8 closed 3 years ago

mmeendez8 commented 3 years ago

Code to reproduce:

    image_0[
        int(image_0_bbox_top) : int(image_0_bbox_top + image_0_bbox_height),
        int(image_0_bbox_left) : int(image_0_bbox_left + image_0_bbox_width),
    ] = 0

Output:

flake8...................................................................Failed
- hook id: flake8
- exit code: 1

tests/apps/test_paint_annotations.py:137:30: E203 whitespace before ':'

Black is adding extra whitespaces that do not match with flake8 config

github-actions[bot] commented 3 years ago

Branch bugfix/issue-101-Fix_precommit_issue_between_black_and_flake created!

igonro commented 3 years ago

Closed by #102