-
Notifications
You must be signed in to change notification settings - Fork 52
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
<CI>(makefile): add black and isort for formatting #77
Conversation
- name: Run linters | ||
run: make lint |
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.
will check if every contributors has format their PR
Makefile
Outdated
format: | ||
isort --fss -w 88 . | ||
black . | ||
|
||
lint: | ||
isort --fss -w 88 --check-only . | ||
black . --check | ||
flake8 kuwala/core kuwala/common |
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.
will sort imports, format codebase and use flake8 to do some simple check
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.
only check kuwala/core and common
because there's lot's of exception in pipelines
want to punt on this in this PR 😛
8467362
to
b49180e
Compare
passed in my fork |
021fffb
to
36b8b72
Compare
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.
When removing the poetry files created during the linting process everything works fine. Please have a look at the comments for more details. After addressing the comments I think it's ready to merge. I've tested the demo and the CLI and everything's still working.
21b84f3
to
8e21952
Compare
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.
Really valuable PR, @david30907d ! 🙌🏽
No description provided.