summaryrefslogtreecommitdiff
path: root/scripts/maint/practracker/practracker.py
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2019-09-09 14:53:12 -0400
committerDavid Goulet <dgoulet@torproject.org>2019-09-09 14:53:12 -0400
commit796a9b37ea346f413f6684505ca31879ddf3f0f1 (patch)
treef71cc9bba00d562edcdf93ede6d516766d7d2dbc /scripts/maint/practracker/practracker.py
parent6846d14868b561e51e5f6afc27a1f1e8a0da94ce (diff)
parent380d178e53bf4389a4f3085aef73d23c4a6b447f (diff)
downloadtor-796a9b37ea346f413f6684505ca31879ddf3f0f1.tar.gz
tor-796a9b37ea346f413f6684505ca31879ddf3f0f1.zip
Merge branch 'tor-github/pr/1264'
Diffstat (limited to 'scripts/maint/practracker/practracker.py')
-rwxr-xr-xscripts/maint/practracker/practracker.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/maint/practracker/practracker.py b/scripts/maint/practracker/practracker.py
index b477cd60c0..78003fb786 100755
--- a/scripts/maint/practracker/practracker.py
+++ b/scripts/maint/practracker/practracker.py
@@ -218,7 +218,8 @@ def main(argv):
filt.addThreshold(problem.FileSizeItem("*.h", int(args.max_h_file_size)))
filt.addThreshold(problem.IncludeCountItem("*.h", int(args.max_h_include_count)))
filt.addThreshold(problem.FunctionSizeItem("*.c", int(args.max_function_size)))
- filt.addThreshold(problem.DependencyViolationItem("*", int(args.max_dependency_violations)))
+ filt.addThreshold(problem.DependencyViolationItem("*.c", int(args.max_dependency_violations)))
+ filt.addThreshold(problem.DependencyViolationItem("*.h", int(args.max_dependency_violations)))
# 1) Get all the .c files we care about
files_list = util.get_tor_c_files(TOR_TOPDIR)