NASA-PDS/template-repo-python

Pre-commit modifies generated REQUIREMENTS.md files

Closed this issue ยท 0 comments

๐Ÿ› Describe the bug

The pds-github-util generates REQUIREMENTS.md files automatically. But then by the time you run tox or do a commit, the pre-commit hook doesn't like the whitespace and end-of-file issues in REQUIREMENTS.md and modifies it too.

It shouldn't do that.

๐Ÿ•ต๏ธ Expected behavior

Running tox, or git commit, or simply python -m pre_commit run --color=always --all should leave REQUIREMENTS.md (and Brittney) alone.

โš™๏ธ Engineering Details