Skip to content

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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 October 18, 2017 19:48
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