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
NotImplementedError: Non-relative patterns are unsupported
cmd> metrics -q --format=json "F:/Cohesion_Java.py"
or
cmd> metrics -q --format=json F:/Cohesion_Java.py
or
cmd> metrics -q --format=json F:\Cohesion_Java.py
or
cmd> metrics -q --format=json "F:\Cohesion_Java.py"
Traceback (most recent call last):
File "c:\users\hp\anaconda3\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "c:\users\hp\anaconda3\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\hp\Anaconda3\Scripts\metrics.exe\__main__.py", line 7, in <module>
File "c:\users\hp\anaconda3\lib\site-packages\metrics\metrics.py", line 47, in main
file_metrics = process_file_metrics(context, file_processors)
File "c:\users\hp\anaconda3\lib\site-packages\metrics\metrics_utils.py", line 129, in process_file_metrics
for in_file, key in in_files:
File "c:\users\hp\anaconda3\lib\site-packages\metrics\metrics_utils.py", line 76, in glob_files
matches = list(Path(root_dir).glob(pattern))
File "c:\users\hp\anaconda3\lib\site-packages\pathlib2\__init__.py", line 1360, in glob
raise NotImplementedError("Non-relative patterns are unsupported")
NotImplementedError: Non-relative patterns are unsupported
The text was updated successfully, but these errors were encountered:
NotImplementedError: Non-relative patterns are unsupported
cmd> metrics -q --format=json "F:/Cohesion_Java.py"
or
cmd> metrics -q --format=json F:/Cohesion_Java.py
or
cmd> metrics -q --format=json F:\Cohesion_Java.py
or
cmd> metrics -q --format=json "F:\Cohesion_Java.py"
The text was updated successfully, but these errors were encountered: