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

Replace builtin color module with pygments #407

Open
iamdefinitelyahuman opened this issue Apr 12, 2020 · 0 comments
Open

Replace builtin color module with pygments #407

iamdefinitelyahuman opened this issue Apr 12, 2020 · 0 comments
Labels
code structure Refactoring, reformatting, cleanup
Milestone

Comments

@iamdefinitelyahuman
Copy link
Member

Overview

Remove brownie.utils.color in favor of pygments.

  • color is an unnecessary reinvention of the wheel and adds to the code complexity.
  • Using pygments will help ensure a consistent color scheme and remove an area of required opinions ("what color is best here?")

Specification

  1. Completely remove brownie.utils.color.
  2. Choose a lexer or set of lexers, document when and where to use them, and handle color with pygments.

Dependencies

Shouldn't break anything but will touch many files and significantly change the overall feel of Brownie. Definitely a v2.0.0 change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code structure Refactoring, reformatting, cleanup
Projects
None yet
Development

No branches or pull requests

1 participant