How to Add Python Duplicate-Code Detection to GitHub Actions
Duplicate-code detection becomes much more useful when it runs automatically, but adding it to CI raises a few policy questions that matter more than the YAML.

Search for a command to run...
Duplicate-code detection becomes much more useful when it runs automatically, but adding it to CI raises a few policy questions that matter more than the YAML.

Ruff can replace a remarkable amount of Python tooling. Duplicate-code detection is one of the gaps you may still need to fill.

If you only need Pylint for duplicate-code detection, you don't necessarily need to run Pylint to get it.

Arid started because Pylint R0801 was too slow. Version 2.0 keeps the fast detector and builds the workflows around it.

Your architecture shouldn't solve requirements that don't exist yet.

The hard part isn’t finding repeated lines. It’s deciding what “the same code” actually means.

How a painfully slow duplicate-code check on Polaris turned into a focused Rust tool for Python.
