summaryrefslogtreecommitdiff
path: root/scripts/maint/practracker/includes.py
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-12-04 12:15:28 -0500
committerNick Mathewson <nickm@torproject.org>2019-12-04 12:15:28 -0500
commitfcb565612801ebcbbc27d47b19644039dfdebed2 (patch)
tree4e48fe7c0237f81adb0cb6755be88eb63bf86754 /scripts/maint/practracker/includes.py
parent2693bf47e8f98d38386d79e48d56ecbaaf781a02 (diff)
parent9ad569c71d081992ac644695064ffb39ce88c61a (diff)
downloadtor-fcb565612801ebcbbc27d47b19644039dfdebed2.tar.gz
tor-fcb565612801ebcbbc27d47b19644039dfdebed2.zip
Merge branch 'ticket32609_squashed'
Diffstat (limited to 'scripts/maint/practracker/includes.py')
-rwxr-xr-xscripts/maint/practracker/includes.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/maint/practracker/includes.py b/scripts/maint/practracker/includes.py
index f2d91b63a1..ed0e11ef28 100755
--- a/scripts/maint/practracker/includes.py
+++ b/scripts/maint/practracker/includes.py
@@ -13,6 +13,10 @@
file in each directory. This file contains empty lines, #-prefixed
comments, filenames (like "lib/foo/bar.h") and file globs (like lib/*/*.h)
for files that are permitted.
+
+ The script exits with an error if any non-permitted includes are found.
+ .may_include files that contain "!advisory" are considered advisory.
+ Advisory .may_include files only result in warnings, rather than errors.
"""