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

Add import for TextLexer. #5512

Merged
merged 1 commit into from Oct 18, 2017
Merged

Conversation

dmwyatt
Copy link
Contributor

@dmwyatt dmwyatt commented Oct 18, 2017

If pygments did not recognize the language name it was being passed,
this would raise a NameError because TextLexer import was missing.

If pygments did not recognize the language name it was being passed,
this would raise a `NameError` because `TextLexer` import was missing.
Copy link
Collaborator

@carltongibson carltongibson left a comment

Yep. Good catch. That noqa at the top stings here. Thanks.

@carltongibson carltongibson added this to the 3.7.2 milestone Oct 18, 2017
@carltongibson carltongibson merged commit e704dd2 into encode:master Oct 18, 2017
@dmwyatt dmwyatt deleted the fix-textlexer branch Oct 18, 2017
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.

None yet

2 participants