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

Setup ci #9

Merged
merged 8 commits into from
Jul 10, 2023
Merged

Setup ci #9

merged 8 commits into from
Jul 10, 2023

Conversation

alex-jw-brooks
Copy link
Collaborator

@alex-jw-brooks alex-jw-brooks commented Jul 6, 2023

This PR is essentially a copy + paste + find replace of @evaline-ju's caikit-nlp PR - Thanks Evaline!

  • Adds format script & formatter profiles to ensure they play together okay, runs the formatter
  • Move towards pyproject.toml
  • Enables GitHub workflow for building the library, linting etc
  • Adds caikit contribution guidelines
  • Adds Github templates

Note that currently the listing score is a bit low, so the fail threshold is 6; this will be brought up to 10 in a future PR

Signed-off-by: Alex-Brooks <[email protected]>
Copy link
Contributor

@gabe-l-hart gabe-l-hart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great Alex!

.isort.cfg Outdated Show resolved Hide resolved

[testenv:lint]
description = lint with pylint
deps = pylint>=2.16.2,<3.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you ever end up going down the route of optional deps sets in your pyproject.toml, you can move all of these deps over there (like in caikit), but certainly no need to do that now. It's just a nicer way to keep all deps info in one place.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea. Thanks!

@alex-jw-brooks alex-jw-brooks merged commit be48a7b into main Jul 10, 2023
6 checks passed
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