Skip to content

rework and test custom builtins - #893

Merged
asottile merged 1 commit into
mainfrom
test-custom-builtins
Sep 22, 2026
Merged

asottile merged 1 commit into
mainfrom
test-custom-builtins

Conversation

@asottile

Copy link
Copy Markdown
Member

No description provided.

@asottile
asottile enabled auto-merge (squash) September 22, 2026 20:12
@asottile
asottile merged commit dae13ed into main Sep 22, 2026
12 checks passed
@asottile
asottile deleted the test-custom-builtins branch September 22, 2026 20:14
AhmadMasry added a commit to AhmadMasry/flake8 that referenced this pull request Sep 23, 2026
pyflakes 4.0.0 (PyCQA/pyflakes#893) removed the Checker.builtIns class
attribute, so FlakesChecker.parse_options raised AttributeError
whenever --builtins or `builtins =` in a config file was set.

Store the parsed option on FlakesChecker.builtins and pass it to
pyflakes through the builtins= argument of Checker.__init__.

Closes PyCQA#2056

Signed-off-by: Ahmad Al-Masry <good.dr.ahmad@gmail.com>
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