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 scripts/count_token_references.py to check for "unicorn" tokens. #1819

Merged
merged 1 commit into from Jun 20, 2021

Conversation

doerwalter
Copy link
Contributor

This pull request "fixes" issue #1816

It implements a script that counts how often a token is referenced by the lexer sources to find any typos in token names.

@Anteru Anteru self-assigned this Jun 2, 2021
@Anteru Anteru merged commit 6163b9e into pygments:master Jun 20, 2021
@Anteru
Copy link
Collaborator

Anteru commented Jun 20, 2021

Thanks a lot for preparing this!

Anteru added a commit that referenced this pull request Jun 20, 2021
The PR #1819 provides a tool to identify unique token types. This PR
aims to remove the most obvious cases of unicorn styles which are used
in a single lexer only.
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