7 Commits

Author SHA1 Message Date
Patrick McCarty 06dd69f747 Ignore new B902 warnings from flake8
These warnings are worth addressing eventually, but they shouldn't be
blockers for now.

The warnings are:

  autospec/abireport.py:59:1: B902 blind except Exception: statement
  autospec/abireport.py:73:1: B902 blind except Exception: statement
  autospec/abireport.py:128:1: B902 blind except Exception: statement
  autospec/abireport.py:165:1: B902 blind except Exception: statement
  autospec/abireport.py:191:1: B902 blind except Exception: statement
  autospec/abireport.py:237:1: B902 blind except Exception: statement
  autospec/abireport.py:262:1: B902 blind except Exception: statement
  autospec/abireport.py:273:1: B902 blind except Exception: statement
  autospec/autospec.py:237:1: B902 blind except Exception: statement
  autospec/autospec.py:307:1: B902 blind except Exception: statement
  autospec/build.py:177:1: B902 blind except Exception: statement
  autospec/buildreq.py:563:1: B902 blind except Exception: statement
  autospec/buildreq.py:600:1: B902 blind except Exception: statement
  autospec/buildreq.py:689:1: B902 blind except Exception: statement
  autospec/buildreq.py:713:1: B902 blind except Exception: statement
  autospec/buildreq.py:735:1: B902 blind except Exception: statement
  autospec/commitmessage.py:51:1: B902 blind except Exception: statement
  autospec/commitmessage.py:293:1: B902 blind except Exception: statement
  autospec/config.py:475:1: B902 blind except Exception: statement
  autospec/config.py:821:1: B902 blind except Exception: statement
  autospec/pkg_integrity.py:551:1: B902 blind except Exception: statement
  autospec/pkg_integrity.py:669:1: B902 blind except Exception: statement
  autospec/pkg_integrity.py:765:1: B902 blind except Exception: statement

Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
2021-01-28 14:14:05 -08:00
Patrick McCarty 91329815ae Remove other Travis CI leftovers
Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
2020-04-24 20:12:02 -07:00
Arzhan Kinzhalin 6740ba1683 Fix linter (flake8) errors.
Also:
* flake8 configuration is moved from the command-line in the makefile to
  setup.cfg
2018-10-25 09:30:46 -07:00
Matthew Johnson 9b8ef511d2 Add coverage statistics to unittest runs
Signed-off-by: Matthew Johnson <matthew.johnson@intel.com>
2017-11-07 11:04:46 -08:00
Matthew Johnson 192ee3570d Add unit tests for commitmessage module 2017-02-16 15:35:35 -08:00
Matthew Johnson 388149e12f Make autospec pep8 clean
Signed-off-by: Matthew Johnson <matthew.johnson@intel.com>
2016-11-16 09:14:53 -08:00
Archana eb1b2f61cc Add support for python packaging.
Added a setup.py for packaging. This will install the .py files as autospec
library in dist-packages. Because of the way the imports are currently done, autospec.py
is installed in dist-packages dir. The rpm packaging should create a symlink to this file at
/usr/bin/autospec.py
2015-12-09 20:57:53 -08:00