Introduce variable for storage losses #731
Annotations
1 error and 2 warnings
/home/runner/work/oemof-solph/oemof-solph/tests/test_options.py#L14
def test_check_age_and_lifetime():
"""Check error being thrown if age > lifetime"""
msg = "A unit's age must be smaller than its expected lifetime."
with pytest.raises(AttributeError, match=msg):
- solph.Flow(
- nominal_value=solph.Investment(age=41, lifetime=40)
- )
+ solph.Flow(nominal_value=solph.Investment(age=41, lifetime=40))
|
Analyze (python)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, github/codeql-action/init@v2, github/codeql-action/autobuild@v2, github/codeql-action/analyze@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Analyze (python)
CodeQL Action v2 will be deprecated on December 5th, 2024. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/
|