-
Notifications
You must be signed in to change notification settings - Fork 10.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MRG+1] Add SCRAPY_CHECK environment variable #3739
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3739 +/- ##
==========================================
+ Coverage 85.42% 85.43% +<.01%
==========================================
Files 169 169
Lines 9635 9647 +12
Branches 1433 1436 +3
==========================================
+ Hits 8231 8242 +11
- Misses 1156 1157 +1
Partials 248 248
|
Could you please add an automated test to cover this change? |
I've added a test for the |
It would be great if you could cover the new environment variable in the documentation about |
16f7ca5
to
1b3763d
Compare
@Gallaecio Thanks for your feedback! I've added the documentation, hope this is the right way to document it and otherwise I would love to update the documentation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, build the documentation locally to see how your changes look.
To build the documentation, you can create a virtual environment with the dependencies from requirements-py3.txt
and docs/requirements.txt
, and run make html
from the docs
folder. You can then open docs/build/html/index.html
in a web browser and reach the contracts page.
1b3763d
to
8bd207a
Compare
a866b07
to
f6485e6
Compare
Thanks for the comment on how to build the documentation! I builded it and think it looks fine now |
I’ve refactored your documentation a bit. Please, review my changes. |
Great! Looks fine to me |
This PR implements the environment variable when running
scrapy check
as asked in #3704 . This way it is possible to have different behaviour in the scraper when running the check (like requiring less settings to be set)fixes #3704