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

use textwrap to get description lines #128

Merged
merged 2 commits into from
May 17, 2024
Merged

Conversation

iamalisalehi
Copy link
Contributor

Hi,

This commit removes a function and replaces it with a already existing function from the textwrap library.

Not only it reduces the written code, it makes it easier to later add feature request in issue #112 (I will add a pull request for that one later). Although it adds a new dependency.

src/pick/__init__.py Outdated Show resolved Hide resolved
change `fill` to `textwrap.fill`
@aisk aisk merged commit ddafd7c into aisk:master May 17, 2024
15 checks passed
@iamalisalehi iamalisalehi deleted the descriptions branch June 2, 2024 16:44
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.

2 participants