Skip to content

Commit f6df907

Browse files
authored
Add changed files to git. (#382)
If there were manual changes made to setup.py or pyproject.toml, this commit will include those changes in the commit.
1 parent f0a0136 commit f6df907

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/zope/meta/setup_to_pyproject.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -467,8 +467,10 @@ def main():
467467
if args.interactive or args.commit:
468468
print('Look through setup.py to see if it needs changes.')
469469
call(os.environ['EDITOR'], 'setup.py')
470+
call('git', 'add', 'setup.py')
470471
print('Look through pyproject.toml to see if it needs changes.')
471472
call(os.environ['EDITOR'], 'pyproject.toml')
473+
call('git', 'add', 'pyproject.toml')
472474

473475
if args.run_tests:
474476
tox_path = shutil.which('tox') or (

0 commit comments

Comments
 (0)