Open ZedThree opened 3 hours ago
I proposed a similar thing for open
in https://github.com/PlasmaFAIR/fortitude/issues/16, so if we can figure out the logic for one then the other should follow easily.
(And credit where it's due, I raised that issue after hearing about the rule in castep-linter, but forgot it was for checking allocations instead of IO routines)
See: https://github.com/byornski/castep-linter/blob/main/src/castep_linter/tests/allocate_stat_checked.py