Skip to main content

redundant is a linter for project wide technical debt.

Currently, the main goal is to identify duplicate and near-duplicate code. While redundant was built with Django projects in mind, and to that end can analyze python, javascript, html, and css files, it should be useful for many types of codebases.

Usage

Simple run redundant in the top-level directory of your project and let it run. For larger projects it can take a while.

./path/to/redundant.py

You can improve how it runs by adding a .redundantrc to your project. See the dotredundantrc file for an example. Excluding vendor files, especially minimized code, can improve run time significantly.

You can configure the threshold for duplicate detection by changing the diff-delta-max setting in the [report] section of the config.

Release files for redundant 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for redundant 0.1.6
File Size Uploaded
redundant-0.1.6.tar.gz 3.6 kB Details

Release files / redundant-0.1.6.tar.gz

Download URL redundant-0.1.6.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
40b570622c252f8d51c323a53dcf9a704784828debcfef080c29bceca8ed5ed8
BLAKE2b-256 checksum
How to use checksums
29da20a82b84f0d2b3a941fea2e87886eedac5db501dd6014265721efad923a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.6 This release

1 release file

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page