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

Update topsurnamesgramplet.py #1780

Open
wants to merge 2 commits into
base: maintenance/gramps52
Choose a base branch
from

Conversation

DaveSch-gramps
Copy link
Contributor

Allow users to specify how many surnames appear in the list from 10 to 1000

from discourse

https://gramps.discourse.group/t/diversely-transliterated-sur-names-and-statistics/5768/8

Allow users to specify how many surnames appear in the list from 10 to 1000
@DaveSch-gramps
Copy link
Contributor Author

DaveSch-gramps commented Sep 30, 2024

Bug #13448

@Nick-Hall Nick-Hall added the bug label Oct 3, 2024
@hgohel
Copy link
Member

hgohel commented Oct 5, 2024

@DaveSch-gramps Do you have Black installed locally? Running that on the source file will eliminate the lint check failure.

@DaveSch-gramps
Copy link
Contributor Author

No to Black. I am not a real coder. I modified code I found in LastModified to achieve the menu options.

I just use Github Desktop for Windows and Atom. I do understand Atom is no longer supported.

@hgohel
Copy link
Member

hgohel commented Oct 5, 2024

No to Black.

No worries. Looks like Black would like to see two empty lines after `NUM_SURNAMES =" and there's only one right now. Simple fix.

@DaveSch-gramps
Copy link
Contributor Author

Line added and both checks are green!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants