Skip to content

Remove support for override settings with SCRAPY_ environment variables #5724

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

Merged
merged 2 commits into from
Nov 22, 2022
Merged

Remove support for override settings with SCRAPY_ environment variables #5724

merged 2 commits into from
Nov 22, 2022

Conversation

Laerte
Copy link
Member

@Laerte Laerte commented Nov 22, 2022

Another cleanup. 🧹 (Last one this week i promise 🤞🏻 )

We could change the valid_envvars and append SCRAPY_ prefix, but i choose to leave the dictionary intact and just add another condition to if statement, changed tests accordingly.

@codecov
Copy link

codecov bot commented Nov 22, 2022

Codecov Report

Merging #5724 (1506479) into master (aac6103) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #5724      +/-   ##
==========================================
- Coverage   88.74%   88.74%   -0.01%     
==========================================
  Files         162      162              
  Lines       10973    10969       -4     
  Branches     1801     1799       -2     
==========================================
- Hits         9738     9734       -4     
  Misses        954      954              
  Partials      281      281              
Impacted Files Coverage Δ
scrapy/utils/project.py 78.43% <100.00%> (-1.57%) ⬇️

@Gallaecio
Copy link
Member

Gallaecio commented Nov 22, 2022

Last one this week i promise 🤞🏻

You’ll get no complaints from me!

@wRAR wRAR merged commit b9c8db1 into scrapy:master Nov 22, 2022
@Laerte Laerte deleted the remove-scrapy_-env-variables-override branch November 22, 2022 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants