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

Releng/fix CI and problems with type hints #60

Merged
merged 9 commits into from
May 21, 2024
Merged

Releng/fix CI and problems with type hints #60

merged 9 commits into from
May 21, 2024

Conversation

slott56
Copy link
Collaborator

@slott56 slott56 commented May 21, 2024

  1. Use Poetry to rewrite pyproject.toml
  2. Use Poetry to manage dependencies
  3. Cleanup type hints (to an extent) to pass strict checks with mypy 1.10. Add a few type: ignore comments to be resolved later.
  4. Add COLUMNS setting to argparse testing
  5. Simplify tox.ini to streamline development
  6. Fix the CI setup to remove pre-commit, reset version numbers, and handle coverage upload.
  7. Remove disutils.version, replacing it with packaging.version

1. Use Poetry to rewrite pyproject.toml
2. Use Poetry to manage dependencies
3. Cleanup type hints (to an extent) to pass strict checks with mypy 1.10. Add a few type: ignore comments to be resolved later.
4. Add COLUMNS setting to argparse testing
5. Simplify tox.ini to streamline development
Switch to using ruff explicitly.
Update environment list.
@slott56 slott56 requested a review from kapilt May 21, 2024 17:18
# Singleton word like "used" or "unused" abbreviates a longer expression:
c7n_filter = {"type": c7n_filter, "value": True}
c7n_filter = cast(Dict[str, Any], c7n_filter)
# c7n_filter = cast(Dict[str, Any], c7n_filter)
Copy link
Collaborator

Choose a reason for hiding this comment

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

probably can just remove it seems

Copy link
Collaborator

@kapilt kapilt left a comment

Choose a reason for hiding this comment

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

thanks, lgtm!

@slott56 slott56 merged commit 4e2a632 into master May 21, 2024
15 checks passed
@slott56 slott56 deleted the releng/fix-ci branch May 21, 2024 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants