Kentaro Wada 5 жил өмнө
parent
commit
87df70ad9e
3 өөрчлөгдсөн 4 нэмэгдсэн , 4 устгасан
  1. 3 0
      .flake8
  2. 1 1
      labelme/__main__.py
  3. 0 3
      setup.cfg

+ 3 - 0
.flake8

@@ -0,0 +1,3 @@
+[flake8]
+exclude = .anaconda3/*
+ignore = W504

+ 1 - 1
labelme/__main__.py

@@ -80,7 +80,7 @@ def main():
         dest='label_flags',
         help='yaml string of label specific flags OR file containing json '
              'string of label specific flags (ex. {person-\d+: [male, tall], '
-             'dog-\d+: [black, brown, white], .*: [occluded]})',
+             'dog-\d+: [black, brown, white], .*: [occluded]})',  # NOQA
         default=argparse.SUPPRESS,
     )
     parser.add_argument(

+ 0 - 3
setup.cfg

@@ -1,3 +0,0 @@
-[flake8]
-exclude = .anaconda3/*, .anaconda2/*, venv/*
-ignore = H304, W504, E741, W605