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

<CI>(makefile): add black and isort for formatting #77

Merged
merged 3 commits into from
Feb 2, 2022

Conversation

david30907d
Copy link
Contributor

No description provided.

Comment on lines +24 to +25
- name: Run linters
run: make lint
Copy link
Contributor Author

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
Comment on lines 1 to 8
format:
isort --fss -w 88 .
black .

lint:
isort --fss -w 88 --check-only .
black . --check
flake8 kuwala/core kuwala/common
Copy link
Contributor Author

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

Copy link
Contributor Author

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 😛

@david30907d
Copy link
Contributor Author

Copy link
Contributor

@mattigrthr mattigrthr left a 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.

README.md Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
poetry.lock Show resolved Hide resolved
pyproject.toml Show resolved Hide resolved
pyproject.toml Show resolved Hide resolved
pyproject.toml Outdated Show resolved Hide resolved
Copy link
Contributor

@mattigrthr mattigrthr left a 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 ! 🙌🏽

@mattigrthr mattigrthr merged commit 646cc0a into kuwala-io:master Feb 2, 2022
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