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
There is the --func-prefixes option but it's not flexible enough. I'd rather want clonedigger to be also able to do what other code analysis tools (pylint, coverage) can - skip explicitly marked parts of code.
For example something like:
def foo(): # clonedigger: skip
would skip the function foo()
Or
class Bar: # clonedigger: skip
would skip the whole class Bar
The text was updated successfully, but these errors were encountered:
Yeah clonedigger needs something like this. But it would be even better if it were regexes or something that didn't clog up your code. Because I'm seeing now that it gets false positives for docstrings and doctests! I can't figure out how to fix it in the source code just yet but I'll keep trying...
There is the --func-prefixes option but it's not flexible enough. I'd rather want clonedigger to be also able to do what other code analysis tools (pylint, coverage) can - skip explicitly marked parts of code.
For example something like:
would skip the function foo()
Or
would skip the whole class Bar
The text was updated successfully, but these errors were encountered: