scrapy / protego

A pure-Python robots.txt parser with support for modern conventions.
BSD 3-Clause "New" or "Revised" License
54 stars 28 forks source link

Raise exception if input is not string #27

Closed Laerte closed 2 years ago

Laerte commented 2 years ago

Closes #16

Code from PR below:

codecov[bot] commented 2 years ago

Codecov Report

Merging #27 (a00e9f2) into master (17d9474) will increase coverage by 0.01%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #27      +/-   ##
==========================================
+ Coverage   97.70%   97.71%   +0.01%     
==========================================
  Files           1        1              
  Lines         305      307       +2     
  Branches       73       74       +1     
==========================================
+ Hits          298      300       +2     
  Misses          4        4              
  Partials        3        3              
Impacted Files Coverage Δ
src/protego.py 97.71% <100.00%> (+0.01%) :arrow_up:
Laerte commented 2 years ago

@whalebot-helmsman Can we merge it?