Skip to content

Commit 604a870

Browse files
Disable inconsistent return type check
In this case, if major version is not returned from the block, the function will never return but fail - so the check is not correct.
1 parent 02c95b6 commit 604a870

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/integration/test_validate_spark_environment.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ def __extract_version_line(java_version_output: str) -> str:
3434
return version_line
3535

3636

37+
# pylint: disable=R1710
3738
def __parse_major_version(version_line: str) -> int:
3839
version_regex = re.compile(r'version "(?P<major>\d+)\.(?P<minor>\d+)\.\w+"')
3940
match = version_regex.search(version_line)

0 commit comments

Comments
 (0)