scrapy / itemadapter

Common interface for data container classes
BSD 3-Clause "New" or "Revised" License
61 stars 13 forks source link

Remove leading newline in docstrings #52

Closed elacuesta closed 3 years ago

elacuesta commented 3 years ago

Avoid the leading newline when accessing the docstring with __doc__.

Up until recently I have been putting leading newlines in my docstrings, thanks @Gallaecio for pointing me to PEP 257.

codecov[bot] commented 3 years ago

Codecov Report

Merging #52 (5929281) into master (9b5b296) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #52   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            3         3           
  Lines          196       196           
=========================================
  Hits           196       196           
Impacted Files Coverage Δ
itemadapter/adapter.py 100.00% <ø> (ø)
itemadapter/utils.py 100.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 9b5b296...5929281. Read the comment docs.