code: def check(self, diff):
          
          path = diff.b_path
          contrib_path = self.project.contrib_module_path
          assert pathlib.Path(contrib_path) in pathlib.Path(path).parents
docs: Check that the new file is within the contrib subdirectory