Skip to content

Commit 71befdf

Browse files
committed
Add changed files to git.
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 71befdf

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)