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

TypeError: '>' not supported between instances of 'NoneType' and 'int' #1031

Open
ad010902 opened this issue Apr 19, 2024 · 2 comments
Open

Comments

@ad010902
Copy link

Hi,
I catch bug below

Traceback (most recent call last):
File "/home/duongnguyen/.local/bin/funannotate", line 8, in
sys.exit(main())
File "/home/duongnguyen/.local/lib/python3.6/site-packages/funannotate/funannotate.py", line 717, in main
mod.main(arguments)
File "/home/duongnguyen/.local/lib/python3.6/site-packages/funannotate/sort.py", line 81, in main
args.input, args.base, args.out, minlen=args.minlen, simplify=args.simplify
File "/home/duongnguyen/.local/lib/python3.6/site-packages/funannotate/sort.py", line 37, in SortRenameHeaders
if minlen > 0:
TypeError: '>' not supported between instances of 'NoneType' and 'int'

@ydanylko
Copy link

Currently having the same issue after suddenly being asked to run export funannotate_db again

@ydanylko
Copy link

fix seems to be to specify a minlen, I chose 1 and mine worked, hope this helps

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

No branches or pull requests

2 participants