I am searching a tool to find code duplication in Python code and HTML templates.
For Python I tried pylint, but it is very limited. See issue1915.
But maybe this is not a task which needs to be done again and again for every programming language. Maybe there is a tool which can do this for any kind of text....
Needed features:
- find duplicate text in files.
- Whitespace changes should get ignored
- open source
- optional: Find duplicates even if some parts where slightly changed (for example a variable was renamed)