SCP26: requirements.file mismatch
What it does
Finds requirements.file values in the scrapinghub.yml shub
configuration file that point to a different file than
the one determined by the requirements file resolution logic.
Why is this bad?
When you specify a requirements file using the requirements-file option,
but your scrapinghub.yml points to a different requirements file, this
creates an inconsistency between the requirements file that scrapy-lint checks
and the one that you deploy to Scrapy Cloud.
Example
With requirements-file seto to requirements-dev.txt:
stack: scrapy:2.12-20241202
requirements:
file: requirements.txt
Instead use:
stack: scrapy:2.12-20241202
requirements:
file: requirements-dev.txt
Or update your options to use the same file as specified in
scrapinghub.yml.