diff --git a/src/snowflake/connector/storage_client.py b/src/snowflake/connector/storage_client.py index be29acdb6..8b9b106c1 100644 --- a/src/snowflake/connector/storage_client.py +++ b/src/snowflake/connector/storage_client.py @@ -89,10 +89,8 @@ def __init__( ) # DOWNLOAD self.full_dst_file_name: str | None = ( - os.path.realpath( - os.path.join( - self.meta.local_location, os.path.basename(self.meta.dst_file_name) - ) + os.path.join( + self.meta.local_location, os.path.basename(self.meta.dst_file_name) ) if self.meta.local_location else None diff --git a/tox.ini b/tox.ini index 31b2f8b93..384e94965 100644 --- a/tox.ini +++ b/tox.ini @@ -181,7 +181,7 @@ known_first_party =snowflake,parameters,generate_test_files [flake8] # Notes on ignores: # - all ignored Ds mean doc issues, these should be cleaned up -ignore = B011,C901,D100,D101,D102,D103,D104,D105,D107,D401,E203,E402,E501,F821,W503 +ignore = B011,B027,C901,D100,D101,D102,D103,D104,D105,D107,D401,E203,E402,E501,F821,W503 exclude= build,tool,.tox,parameters.py,parameters_jenkins.py, # Disable checking virtualenv contents