summaryrefslogtreecommitdiffstats
path: root/setup.cfg
diff options
context:
space:
mode:
authorAdriana Kobylak <anoo@us.ibm.com>2018-01-10 16:09:07 -0600
committerAdriana Kobylak <anoo@us.ibm.com>2018-01-10 16:16:58 -0600
commita1f24229e0c879ea12782784737c3359676a40e1 (patch)
tree8badd9bf45f778d0b9ea79d83313d0a1a4e1c852 /setup.cfg
parent1246924be23abb2f9e1460ae8a1a0b3cd1ceaae6 (diff)
downloadphosphor-objmgr-a1f24229e0c879ea12782784737c3359676a40e1.tar.gz
phosphor-objmgr-a1f24229e0c879ea12782784737c3359676a40e1.zip
Fix objmgr using pycodestyle (pep8) rules
Create a setup.cfg file which is used by pycodestyle (formerly pep8) to override defaults. This file can be used by the build verification to check if a repo can have format-check run. Fix long lines, bare excepctions, and lambda error messages. Change-Id: If7f4590c098e04aad6b507c410934f433c739bc7 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg2
1 files changed, 2 insertions, 0 deletions
diff --git a/setup.cfg b/setup.cfg
new file mode 100644
index 0000000..5fd2a3e
--- /dev/null
+++ b/setup.cfg
@@ -0,0 +1,2 @@
+[pycodestyle]
+max-line-length = 80
OpenPOWER on IntegriCloud