paper-qa icon indicating copy to clipboard operation
paper-qa copied to clipboard

`ParsingSettings.disable_doc_valid_check` superceded by contents length

Open jamesbraza opened this issue 5 months ago • 0 comments

Due to https://github.com/Future-House/paper-qa/blob/v5.21.0/paperqa/docs.py#L409-L422, when building a local index, the ParsingSettings.disable_doc_valid_check is bypassed on:

  • Empty code files such as py.typed
  • Nearly-empty files such as .python-version

Ideally we have a way to include these files in a built index.

jamesbraza avatar Jun 11 '25 20:06 jamesbraza