Skip to content

fix: define inflow_t before branch so it is always assigned#2224

Merged
fneum merged 3 commits into
PyPSA:masterfrom
daniel-rdt:fix/inflow-pylint
Jul 27, 2026
Merged

fix: define inflow_t before branch so it is always assigned#2224
fneum merged 3 commits into
PyPSA:masterfrom
daniel-rdt:fix/inflow-pylint

Conversation

@daniel-rdt

@daniel-rdt daniel-rdt commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Changes proposed in this Pull Request

This PR introduces a minor fix ensuring inflow_t is always defined in attach_hydro, resolving a pylint use-before-assignment issue.

Checklist

Required:

  • Changes are tested locally and behave as expected.
  • Code and workflow changes are documented.
  • A release note entry is added to doc/release_notes.md.
  • The description is human-written and any AI-generated content is marked.

If applicable:

  • Changes in configuration options are reflected in scripts/lib/validation.
  • For new data sources or versions, these instructions have been followed.
  • New rules are documented in the appropriate doc/*.md files.

@fneum
fneum enabled auto-merge (squash) July 13, 2026 10:32
@fneum
fneum disabled auto-merge July 27, 2026 07:33
@fneum
fneum merged commit 85c9736 into PyPSA:master Jul 27, 2026
8 checks 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.

2 participants