conjur/logic/credential_provider/file_credentials_provider.py
Showing 1 of 1 total issue
Function is_exists
has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring. Open
Open
def is_exists(self, conjur_url: str) -> bool: if not os.path.exists(DEFAULT_NETRC_FILE) or os.path.getsize(DEFAULT_NETRC_FILE) == 0: return False netrc_auth = ""
- Read upRead up