Page MenuHomePhabricator

[backport#13695] lint: Add linter for circular dependencies
ClosedPublic

Authored by majcosta on May 5 2020, 14:09.

Details

Summary

Protects against added circular depencies, makes it explicit in the
code when circular dependencies have been removed.

Modeled after EXPECTED_BOOST_INCLUDES in lint-includes.sh


This is a backport of Core PR13695

Test Plan
run ./test/lint/lint-circular-dependencies.py
see output that points existing unexpected dependencies,
expected dependencies that aren't present and unexpected
dependencies that are.

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

majcosta requested review of this revision.May 5 2020, 14:09

[Bot Message]
One or more PR numbers were detected in the summary.
Links to those PRs have been inserted into the summary for reference.

This revision is now accepted and ready to land.May 5 2020, 19:05