Skip to content

fix #510#511

Merged
agronholm merged 6 commits intoagronholm:masterfrom
JohannesK71083:#510
Feb 16, 2025
Merged

fix #510#511
agronholm merged 6 commits intoagronholm:masterfrom
JohannesK71083:#510

Conversation

@JohannesK71083
Copy link
Copy Markdown
Contributor

@JohannesK71083 JohannesK71083 commented Feb 13, 2025

Changes

Fixes #510

In 889ad53 the parameters of check_variable_assignment in _functions.py were changed but one call in _transformer.py wasn't adjusted. Fixed by adjusting mentioned call and changing tests accordingly.
Furthermore, I had to change how the test handles mypy output because otherwise I couldn't get the tests to pass (even on the unmodified version). (see 5336b1c)

Checklist

If this is a user-facing code change, like a bugfix or a new feature, please ensure that
you've fulfilled the following conditions (where applicable):

  • You've added tests (in tests/) added which would fail without your patch
  • You've updated the documentation (in docs/, in case of behavior changes or new
    features)
  • You've added a new changelog entry (in docs/versionhistory.rst).

JohannesK71083 and others added 5 commits February 13, 2025 17:55
…reaks

The test fails without this commit because the mypy output creates line breaks and the excepted output doesn't account for that. Fixed by remove unnecessary line breaks via regex.
@JohannesK71083 JohannesK71083 marked this pull request as ready for review February 13, 2025 17:46
@coveralls
Copy link
Copy Markdown

coveralls commented Feb 13, 2025

Coverage Status

coverage: 94.593%. remained the same
when pulling 036ef27 on JohannesK71083:#510
into 95ef60d on agronholm:master.

@agronholm
Copy link
Copy Markdown
Owner

I'll take a look at this over the weekend.

@agronholm agronholm merged commit 447ee40 into agronholm:master Feb 16, 2025
@agronholm
Copy link
Copy Markdown
Owner

Thanks!

@JohannesK71083 JohannesK71083 deleted the #510 branch February 16, 2025 12:38
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.

Problem with := operator

3 participants