Skip to content

Commit

Permalink
fixed linting pt.3
Browse files Browse the repository at this point in the history
  • Loading branch information
AntFMoJ committed Apr 16, 2024
1 parent 1dbbe95 commit c80c5ac
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions gather_env_vars.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ def gather_env_vars_to_renv_file():
"""
Writes RENV files out.
"""
with open(
with open( # pylint: disable=unspecified-encoding
R_ENV_FILE_NAME, "a"
) as file_handler: # pylint: disable=unspecified-encoding
) as file_handler:
for name, value in os.environ.items():
file_handler.write(f'{name}="{value}"')
file_handler.write("\n")

with open(
with open( # pylint: disable=unspecified-encoding
R_ENV_FILE_NAME1, "a"
) as file_handler: # pylint: disable=unspecified-encoding
) as file_handler:
for name, value in os.environ.items():
file_handler.write(f'{name}="{value}"')
file_handler.write("\n")
Expand Down

0 comments on commit c80c5ac

Please sign in to comment.