1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-25 12:26:40 +02:00

tests: fix pylint errors

This commit is contained in:
Sébastien Helleu
2020-05-03 18:39:42 +02:00
parent dff1bf6f0f
commit 2b05b64cc1
2 changed files with 15 additions and 13 deletions
+4 -2
View File
@@ -29,6 +29,8 @@ It uses the following scripts:
- testapi.py: the WeeChat scripting API tests
"""
# pylint: disable=wrong-import-order,wrong-import-position
from __future__ import print_function
import argparse
import ast
@@ -46,7 +48,7 @@ sys.dont_write_bytecode = True
SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__))
sys.path.append(SCRIPT_DIR)
from unparse import ( # pylint: disable=wrong-import-position
from unparse import (
UnparsePython,
UnparsePerl,
UnparseRuby,
@@ -170,7 +172,7 @@ class WeechatScript(object): # pylint: disable=too-many-instance-attributes
def write_footer(self, output):
"""Write footer (nothing by default)."""
pass
pass # pylint: disable=unnecessary-pass
class WeechatPythonScript(WeechatScript):