Changeset View
Changeset View
Standalone View
Standalone View
tests/check_deprecated.py
| Show All 18 Lines | |||||
| # <pep8 compliant> | # <pep8 compliant> | ||||
| import os | import os | ||||
| from os.path import splitext | from os.path import splitext | ||||
| DEPRECATE_DAYS = 120 | DEPRECATE_DAYS = 120 | ||||
| SKIP_DIRS = ("extern", | SKIP_DIRS = ("extern", | ||||
| "scons", | |||||
| "tests", # not this dir | "tests", # not this dir | ||||
| ) | ) | ||||
| def is_c_header(filename): | def is_c_header(filename): | ||||
| ext = splitext(filename)[1] | ext = splitext(filename)[1] | ||||
| return (ext in {".h", ".hpp", ".hxx", ".hh"}) | return (ext in {".h", ".hpp", ".hxx", ".hh"}) | ||||
| ▲ Show 20 Lines • Show All 114 Lines • Show Last 20 Lines | |||||