https://github.com/objarni/dupits
Find code duplication in one file
https://github.com/objarni/dupits
Last synced: about 1 year ago
JSON representation
Find code duplication in one file
- Host: GitHub
- URL: https://github.com/objarni/dupits
- Owner: objarni
- Created: 2011-12-15T11:39:18.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2015-11-26T18:45:28.000Z (over 10 years ago)
- Last Synced: 2025-02-06T11:55:25.289Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 2.93 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
dupits v0.1
===========
At a glance
-----------
dupits finds duplication in the files specified on standard
input, and then prints a result of its finding to standard output.
A typical use would be:
find . -name "*.py" | python dupits.py
If there is absolutely no duplication in the python files found,
you will see the mightly message
Found no duplication. Congrats!
However, in a more realistic scenario, you would be shown something
like this
Found duplicate lines:
def test_one(self):
self.assertEqual(1, 1)
Command line options
====================
Dependencies
============
Dupits is written in Python2.7 and tested only on that platform for now.
No external libraries are necessary.
License
=======
dupits is licensed under the forgiving MIT-license. Basically, do whatever
you please but don't blame me :)