Skip to content

Add warning for experimental node access API #175

Add warning for experimental node access API

Add warning for experimental node access API #175

Triggered via pull request January 11, 2024 16:43
Status Success
Total duration 17s
Artifacts

lint.yml

on: pull_request
Run linters
6s
Run linters
Fit to window
Zoom out
Zoom in

Annotations

1 error and 1 warning
/home/runner/work/oemof-network/oemof-network/tests/test_energy_system.py#L56
def test_node_access_warning(self): node_label = "label" self.es.add(Node(node_label)) with pytest.warns( - match='API to access nodes by label is experimental' + match="API to access nodes by label is experimental" ): _ = es.node[node_label] def test_add_flow_assignment(self): assert not self.es.nodes
Run linters
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-python@v1, samuelmeuli/lint-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/