mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
pylint: Enable and fix consider-using-sys-exit warnings
This commit is contained in:
+2
-1
@@ -5,6 +5,7 @@ import fnmatch
|
||||
import json
|
||||
import os
|
||||
import subprocess
|
||||
import sys
|
||||
import traceback
|
||||
|
||||
from typing import Any, List, Optional, Tuple, Union
|
||||
@@ -871,4 +872,4 @@ class SolidityLSPTestSuite: # {{{
|
||||
if __name__ == "__main__":
|
||||
suite = SolidityLSPTestSuite()
|
||||
exit_code = suite.main()
|
||||
exit(exit_code)
|
||||
sys.exit(exit_code)
|
||||
|
||||
Reference in New Issue
Block a user