<#9364 refactor: Replace `atomicwrites` with stdli...
# meltano-repo-activity
g
#9364 refactor: Replace
atomicwrites
with stdlib functions
Pull request opened by edgarrmondragon ## Description ## Related Issues • Closes #XXXX ## Summary by Sourcery Replace
atomicwrites
-based file writes with stdlib-based atomic write logic, drop the
atomicwrites
dependency, and enhance type annotations in project_files.py. Enhancements: • Implement atomic file writes with
tempfile.mkstemp
,
os.replace
, and
os.fsync
instead of relying on
atomicwrites
. • Add explicit type annotations for
_plugin_file_map
and the
_add_to_index
method key parameter in
project_files.py
. • Clean up unused imports and adjust method signatures to use standard library types. Build: • Remove
atomicwrites
from project dependencies in
pyproject.toml
. CI: • Include
meltano.core.project_files
in coverage by removing it from the ignore list. meltano/meltano