Skip to content
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

Allow searching multiple words without wrapping in quotes #6

Merged
merged 1 commit into from
Apr 3, 2022

Conversation

hugovk
Copy link
Owner

@hugovk hugovk commented Apr 3, 2022

Before

$ pep -n "dead batteries"
Score	Result
90	PEP 594: Removing dead batteries from the standard library
55	PEP 288: Generators Attributes and Exceptions
55	PEP 363: Syntax For Dynamic Attribute Access
55	PEP 476: Enabling certificate verification by default for stdlib http clients
52	PEP 349: Allow str() to return unicode strings

https://peps.python.org/pep-0594/
$ pep -n dead batteries
usage: pep [-h] [-u URL] [-p PR] [-n] [--clear-cache] [-v] [-V] [search]
pep: error: unrecognized arguments: batteries

After

$ pep -n "dead batteries"
Score	Result
90	PEP 594: Removing dead batteries from the standard library
55	PEP 288: Generators Attributes and Exceptions
55	PEP 363: Syntax For Dynamic Attribute Access
55	PEP 476: Enabling certificate verification by default for stdlib http clients
52	PEP 349: Allow str() to return unicode strings

https://peps.python.org/pep-0594/
$ pep -n dead batteries
Score	Result
90	PEP 594: Removing dead batteries from the standard library
55	PEP 288: Generators Attributes and Exceptions
55	PEP 363: Syntax For Dynamic Attribute Access
55	PEP 476: Enabling certificate verification by default for stdlib http clients
52	PEP 349: Allow str() to return unicode strings

https://peps.python.org/pep-0594/

@hugovk hugovk added the changelog: Added For new features label Apr 3, 2022
@codecov
Copy link

codecov bot commented Apr 3, 2022

Codecov Report

Merging #6 (f65c26a) into main (ff00762) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main       #6   +/-   ##
=======================================
  Coverage   97.67%   97.67%           
=======================================
  Files           4        4           
  Lines         172      172           
=======================================
  Hits          168      168           
  Misses          4        4           
Flag Coverage Δ
GHA_Ubuntu 97.67% <ø> (ø)
GHA_Windows 97.67% <ø> (ø)
GHA_macOS 97.67% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


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 ff00762...f65c26a. Read the comment docs.

@hugovk hugovk merged commit 67884c6 into main Apr 3, 2022
@hugovk hugovk deleted the search-no-quotes branch April 3, 2022 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog: Added For new features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant