Closed mekhami closed 3 years ago
To be clear, the solution here for dotfiles is not a solution, just a bandaid. It's a symptom of the larger problem of making big assumptions about where developers are going to put their code. It would be better if we assumed the presence of a reflexes
module, whether that's a reflexes.py or a reflexes directory with an __init__.py
that imports all of its submodules. That would simplify discovery, and not have to parse file paths in directories anymore.
But I didn't want to put that assumption into this PR; if it's something the maintainer(s) can get behind, I'm happy to make that change as well.
Assuming the presence of a reflexes
module is close enough to the existing behavior to be identical in most cases and is more Pythonic, so I like that idea.
@mekhami I'd support such a PR, and thanks for taking the time to resolve this!
Type of PR (feature, enhancement, bug fix, etc.)
Bugfix and enhancement