ryneeverett / mkcodes

A command-line utility for pulling code blocks out of markdown files.
Apache License 2.0
15 stars 7 forks source link

default to adding __init__.py files to directories #12

Closed mattkatz closed 4 years ago

mattkatz commented 4 years ago

Python unittest discover still relies on init.py files and doesn't support namespace packages. By default we can create these but allow for their suppression if using other test frameworks.

mattkatz commented 4 years ago

Ok this should solve your point.

I am adding as a python specific concern, as I have a PR over on my fork that allows multilanguage support.

mattkatz commented 4 years ago

Rather, a PR is coming from my fork soon that allows multilanguage support

ryneeverett commented 4 years ago

Thanks! I took a brief look at your multilanguage branch and it looks like you're on the right track.

ryneeverett commented 4 years ago

By the way, I'd also be fine with making the default value --package-python=False when we add more language support.