Skip to content

fix: lint, formatting, and security warnings across validated integrations#199

Merged
sumitramanga merged 4 commits intosm/fix-integration-namesfrom
fix/198/ci-lint-format-fixes
Mar 30, 2026
Merged

fix: lint, formatting, and security warnings across validated integrations#199
sumitramanga merged 4 commits intosm/fix-integration-namesfrom
fix/198/ci-lint-format-fixes

Conversation

@TheRealAgentK
Copy link
Copy Markdown
Collaborator

@TheRealAgentK TheRealAgentK commented Mar 29, 2026

Description 📝

Fixes CI validation warnings surfaced by #198 that are unrelated to the name changes. All changes are non-destructive (no behavioural changes).

Changes

Category Integration(s) Fix
ruff format canva, coda, companies-register, fathom, jira + tests Auto-formatted 14 files
Lint (ruff --fix) canva, coda, companies-register, fathom Removed unused imports, fixed f-strings without placeholders, added missing trailing newlines
Lint (manual) canva Removed 5 unused response = assignments (fire-and-forget await context.fetch() calls)
Security (bandit B105) canva, coda, companies-register Added # nosec B105 to test placeholder credentials
Missing __init__.py coda Created empty __init__.py
SDK version pinning canva, coda Pinned autohive-integrations-sdk~=1.0.2 in requirements.txt
CI/CD validate-integration.yml Added workflow_dispatch trigger with master fallback for base_ref

Not addressed (would change behaviour)

  • Config-code sync warnings (optional params accessed via inputs["key"] in canva/coda, unused schema params in ghost)
  • Integration.load() warning for aws
  • Unused scopes warnings (canva profile:read, fathom public_api)

Closes #198 (supports)

…tions

- Run ruff format on canva, coda, companies-register, fathom, jira
- Run ruff check --fix to remove unused imports and fix f-strings
- Remove unused response assignments in canva (F841)
- Add nosec B105 to test placeholder credentials (canva, coda, companies-register)
- Add missing __init__.py for coda
- Pin SDK version in requirements.txt for canva and coda
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 56d90b5484

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread canva/tests/context.py Outdated
The previous format pass used local ruff defaults (line-length=88).
CI uses the tooling repo's ruff.toml with line-length=120.
Also fix 3 E501 long lines in companies-register tests.
The added coda/__init__.py triggers the README checker which requires
README.md to be modified when new files are added to an integration.
@TheRealAgentK
Copy link
Copy Markdown
Collaborator Author

@sumitramanga This is a PR for your PR :-)

I had to trigger tooling runs manually (https://github.com/Autohive-AI/autohive-integrations/actions/runs/23722412915) because of the GH action wasn't setup for the PR of a PR flow, but it passes now.

If you're happy with the changes, you should be able to merge this into you PR, then your PR should be clean from a tooling point of view so that you can get the merge in.

Copy link
Copy Markdown
Contributor

@sumitramanga sumitramanga left a comment

Choose a reason for hiding this comment

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

LGTM

@sumitramanga sumitramanga merged commit 2aec74f into sm/fix-integration-names Mar 30, 2026
2 checks passed
@sumitramanga sumitramanga deleted the fix/198/ci-lint-format-fixes branch March 30, 2026 00:49
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