Skip to content

[codex] Disable unsafe Pylint extension loading#3187

Merged
adamtheturtle merged 1 commit into
mainfrom
codex/disable-unsafe-pylint-extensions
May 20, 2026
Merged

[codex] Disable unsafe Pylint extension loading#3187
adamtheturtle merged 1 commit into
mainfrom
codex/disable-unsafe-pylint-extensions

Conversation

@adamtheturtle
Copy link
Copy Markdown
Member

Summary

Adds MASTER.unsafe-load-any-extension = false to the Pylint configuration in pyproject.toml.

Impact

This keeps Pylint from loading arbitrary C extensions while preserving the existing configured plugin list.

Validation

  • python3.12 -c 'import pathlib, tomllib; tomllib.loads(pathlib.Path("pyproject.toml").read_text())'
  • Commit hooks: check toml, pyproject-fmt, and other configured pre-commit checks passed
  • Push hooks: mypy, check-manifest, pyright, ty, and pyrefly passed

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.

1 participant