mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-10-07 05:59:50 -05:00
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:
1 parent
1f6b1c2de7
commit
81ff72b9af
2 files changed
+1
-2
No files matched your search
@@ -22,4 +22,4 @@ from ipaserver.install import service
|
||||
|
||||
class OtpdInstance(service.SimpleServiceInstance):
|
||||
def __init__(self):
|
||||
service.SimpleServiceInstance.__init__(self, "ipa-otpd")
|
||||
service.SimpleServiceInstance.__init__(self, "ipa-otpd")
|
||||
@@ -296,7 +296,6 @@ def main():
|
||||
linter.set_option('disable', 'invalid-name')
|
||||
linter.set_option('disable', 'line-too-long')
|
||||
linter.set_option('disable', 'missing-docstring')
|
||||
linter.set_option('disable', 'missing-final-newline')
|
||||
linter.set_option('disable', 'multiple-imports')
|
||||
linter.set_option('disable', 'multiple-statements')
|
||||
linter.set_option('disable', 'old-style-class')
|
||||
|
||||
Reference in new issue
Block a user