Closed cadenmyers13 closed 3 weeks ago
both debug.py and conftest.py were copied over. Only debug.py had differences with the original.
ugh, it is so much work getting pre-commit to pass on the jinja templates. @Sparks29032 shall we just ignore all .py
? Or do we have a more clever way to get around this?
It seems like black does not support these cookiecutter formats (and does not plan to in the future, this was brought up like two years ago). We can't even skip them using # fmt: off
and # fmt: on
as that will affect the built files. Not sure what to do except we manually review every pre-commit check to see if there is anything besides the syntax errors.
Otherwise, I am stumped. I feel like we may not even need pre-commit on these files in cookiecutter. Maybe the better option is to run all the features in pre-commit on the new diffpy.utils
that is generated since testing that that file is formatted correctly means our cookiecutter is also formatted correctly.
Otherwise, I am stumped. I feel like we may not even need pre-commit on these files in cookiecutter. Maybe the better option is to run all the features in pre-commit on the new
diffpy.utils
that is generated since testing that that file is formatted correctly means our cookiecutter is also formatted correctly.
yes, that. Let;s just turn off black on .py in cookiecutter (but not in resulting packages)
This looks mergable (despite the .py
issue that is now fixed)
closes #26 and closes #27