Replace TermColors class with termcolor and colorama modules #15
Conversation
Your pull request doesn't follow our guidelines. Please fix the following:
Click here for details. Thank you! 🙏 |
aptos/__main__.py
Outdated
from .parser import SchemaParser | ||
from .primitive import Object | ||
from .visitor import ValidationVisitor | ||
from .schema.visitor import AvroSchemaVisitor | ||
|
||
|
||
''' previous color solution, not working in Windows | ||
class TermColors: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can remove the TermColors
class since it is not being used anymore.
@TheWindRider thanks for your PR! I left some feedback. Also, take a look at the build status as it appears to be failing the flake8 style linting checks. Once the build succeeds, I'll merge it into master. |
Took a closer look, and now I understand why it's failing. I forgot to replace all |
so that it works cross-platform
Thank you, the title and description now looks good! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
This is for issue #14
To verify the changes, I executed
validate
command and attached screenshot below.