You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The constraints around guess_lexer solely on contents need a complete rewrite; for speed it does not actually even try to tokenize the source, and although it can return a float (that is then ranked) there is no real balancing among the lexers written by different people.
I would suggest lowercasing before get_lexer_for_filename as a very reasonable workaround.
Activity
thatch commentedon Oct 19, 2020
The constraints around
guess_lexersolely on contents need a complete rewrite; for speed it does not actually even try to tokenize the source, and although it can return a float (that is then ranked) there is no real balancing among the lexers written by different people.I would suggest lowercasing before get_lexer_for_filename as a very reasonable workaround.
ashiscs commentedon Oct 19, 2020
Hello I am new to this community
Can I work on this issue?