Skip to content

Add shared lint setup for CI and cloud agents - #42

Merged
proxymesh merged 5 commits into
mainfrom
cursor/agent-lint-setup-fbf0
Nov 13, 2026
Merged

proxymesh merged 5 commits into
mainfrom
cursor/agent-lint-setup-fbf0

Conversation

@proxymeshai

@proxymeshai proxymeshai commented Nov 13, 2026 •

Copy link
Copy Markdown
Collaborator

Shared lint setup for CI and cloud agents. scripts/install-lint-tools.sh installs the linters, scripts/lint.sh runs them, a Cursor stop hook runs lint before an agent finishes, and the integration workflow gets a lint job on pull requests. AGENTS.md gives cloud agents the repo's rules, and .cursor/agents adds three small helpers (CI watcher, lint fixer, workflow reviewer).

It also fixes four small ruff findings in autoscraper_proxy.py, urllib3_proxy_manager.py and test_proxy_headers.py.

No changes to publishing, release or Dependabot workflows, the version, or repo settings. Based on current main; lint, unit and integration checks pass.

+347/-4 across 14 files.

Cursor and others added 3 commits November 13, 2026 00:05
Install the pinned linters from one script, run them from scripts/lint.sh,
and add the CI lint job, stop hook, and agent instructions.

Co-authored-by: ProxyMesh AI <[email protected]>
Shrink lint scripts, fix the proxy-host grep, drop --changed, and align
docs and CI with the shared scripts/lint.sh entry point.

Co-authored-by: ProxyMesh AI <[email protected]>
Use pull_request instead of pull_request_target, scope write permissions on
the job, and add a timeout, per GitHub's Dependabot auto-merge example.

Co-authored-by: ProxyMesh AI <[email protected]>
@cursor
cursor Bot force-pushed the cursor/agent-lint-setup-fbf0 branch from 9bc2908 to c239c69 Compare November 13, 2026 00:14
Cursor and others added 2 commits November 13, 2026 02:41
Restore dependabot-auto-merge.yml from main, run zizmor only on changed
workflows (always skip the two release workflows), and fetch main in CI.

Co-authored-by: ProxyMesh AI <[email protected]>
@proxymesh
proxymesh merged commit 9015f7f into main Nov 13, 2026
5 checks passed
@proxymesh
proxymesh deleted the cursor/agent-lint-setup-fbf0 branch November 13, 2026 02:59
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