Enable pylint missing-final-newline check

Enables check and fixes:
ipaserver/install/otpdinstance.py:25: [C0304(missing-final-newline), ]
Final newline missing)

Reviewed-By: Jan Cholasta <jcholast@redhat.com>
This commit is contained in:
Martin Basti authored and Jan Cholasta committed 2015-12-23 07:59:22 +01:00
1 parent 1f6b1c2de7
commit 81ff72b9af
2 files changed
+1 -2

No files matched your search

+1 -1
View File
@@ -22,4 +22,4 @@ from ipaserver.install import service
class OtpdInstance(service.SimpleServiceInstance): class OtpdInstance(service.SimpleServiceInstance):
def __init__(self): def __init__(self):
service.SimpleServiceInstance.__init__(self, "ipa-otpd") service.SimpleServiceInstance.__init__(self, "ipa-otpd")
-1
View File
@@ -296,7 +296,6 @@ def main():
linter.set_option('disable', 'invalid-name') linter.set_option('disable', 'invalid-name')
linter.set_option('disable', 'line-too-long') linter.set_option('disable', 'line-too-long')
linter.set_option('disable', 'missing-docstring') linter.set_option('disable', 'missing-docstring')
linter.set_option('disable', 'missing-final-newline')
linter.set_option('disable', 'multiple-imports') linter.set_option('disable', 'multiple-imports')
linter.set_option('disable', 'multiple-statements') linter.set_option('disable', 'multiple-statements')
linter.set_option('disable', 'old-style-class') linter.set_option('disable', 'old-style-class')