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

Convert project to use poetry and pre-commit #81

Merged
merged 7 commits into from
Jan 9, 2023

Conversation

portante
Copy link
Contributor

@portante portante commented Nov 23, 2022

Changes introduced with this PR

We add various pre-commit checks which double-check various aspects of the code.

We perform the auto-code changes from black, isort, and flake8 in separate commits to help make it easier to verify all the changes.


By contributing to this repository, I agree to the contribution guidelines.

@portante portante requested review from jaredoconnell and a user November 23, 2022 17:19
@portante portante self-assigned this Nov 23, 2022
@portante portante force-pushed the poetry-ize branch 8 times, most recently from e7a84ab to 0b14f68 Compare November 23, 2022 18:07
Copy link
Contributor

@jaredoconnell jaredoconnell left a comment

Choose a reason for hiding this comment

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

Looks good to me. Janos will have extra insights as to whether this has the potential to cause any problems.

Copy link
Contributor Author

@portante portante left a comment

Choose a reason for hiding this comment

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

A future commit can leverage this work to build and publish a container that other managed plugins can build off of.

@dustinblack dustinblack requested review from mfleader and jdowni000 and removed request for jdowni000 November 28, 2022 14:01
pyproject.toml Outdated Show resolved Hide resolved
Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

There are a whole lot of changes here, before merging please make sure to run this on at least one plugin.

docs/conf.py Outdated Show resolved Hide resolved
@portante portante requested review from a user, jaredoconnell and webbnh December 5, 2022 16:17
@portante
Copy link
Contributor Author

portante commented Dec 5, 2022

There are a whole lot of changes here, before merging please make sure to run this on at least one plugin.

Thanks, will do.

Note that the commits are broken up so that the first 3 could be verified easier. The first 2 commits are simple automatic applications of black and isort respectively. The 3rd commit is a manual application of changes to resolve flake8 reports.

If it would help, we could pull those out as separate PRs (all 3 in one PR, or in some combination of separate PRs).

Copy link
Contributor

@webbnh webbnh left a comment

Choose a reason for hiding this comment

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

Looks OK to me.

pyproject.toml Outdated Show resolved Hide resolved
Copy link
Contributor

@webbnh webbnh left a comment

Choose a reason for hiding this comment

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

👍

Copy link
Member

@mfleader mfleader left a comment

Choose a reason for hiding this comment

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

seems good!

pyproject.toml Outdated Show resolved Hide resolved
@portante portante requested review from mfleader, webbnh and jaredoconnell and removed request for webbnh December 8, 2022 03:10
Copy link
Contributor

@jaredoconnell jaredoconnell left a comment

Choose a reason for hiding this comment

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

Looks good to me. Verified as working on the kubeconfig plugin.

Copy link
Contributor

@webbnh webbnh left a comment

Choose a reason for hiding this comment

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

👍

@portante portante merged commit 1bd4e07 into arcalot:main Jan 9, 2023
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.

4 participants