You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 14, 2022. It is now read-only.
Is your feature request related to a problem? Please describe.
When calling codewatch myu_codewatch_config_module.py, we are greeted with an ImportError: No module named py. If you know that codewatch interprets config_module.py as a Python module path, you know to remove the .py, but if you don't it's an annoying interface.
Describe the solution you'd like
In the event that #85 is not accepted, or if it is accepted with a manual override for the config file, make the CLI use the filename of the config module rather than a Python module path.
The text was updated successfully, but these errors were encountered:
I agree. Filename is much more intuitive and is what most people expect when using a CLI. With a filename you can directly pass in a file path in a script without having to do any type of transformation on the name.
Use explicit "-f" / "--file" flag, default to module syntax.
Only support file path. It seems a bit strange that a CLI tool expects a format specific to the implementation language, although the fact that it's a tool specifically targeting the Python language makes this a bit more acceptable.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Is your feature request related to a problem? Please describe.
When calling
codewatch myu_codewatch_config_module.py
, we are greeted with anImportError: No module named py
. If you know that codewatch interpretsconfig_module.py
as a Python module path, you know to remove the.py
, but if you don't it's an annoying interface.Describe the solution you'd like
In the event that #85 is not accepted, or if it is accepted with a manual override for the config file, make the CLI use the filename of the config module rather than a Python module path.
The text was updated successfully, but these errors were encountered: