Skip to content

Releng/fix CI and problems with type hints - #60

Merged
slott56 merged 9 commits into
masterfrom
releng/fix-ci
May 21, 2024
Merged

slott56 merged 9 commits into
masterfrom
releng/fix-ci

Conversation

@slott56

@slott56 slott56 commented May 21, 2024

Copy link
Copy Markdown
Collaborator
  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

slott56 added 9 commits May 20, 2024 16:15
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
Comment thread src/xlate/c7n_to_cel.py
# 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
Copy Markdown
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

@kapilt kapilt left a comment

Copy link
Copy Markdown
Collaborator

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
@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

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants