epiverse-trace / epichains

Methods for simulating and analysing the sizes and lengths of infectious disease transmission chains from branching process models
https://epiverse-trace.github.io/epichains/
Other
6 stars 2 forks source link

Return `complexity_limit` in `cyclocomp_linter` to `15L` #196

Closed sbfnk closed 9 months ago

sbfnk commented 9 months ago

This was changed to 25L to accommodate the (possibly unavoidable) cyclomatic complexity of simulate_chains() introduced in https://github.com/epiverse-trace/epichains/pull/171

However, in light of the discussion in #179 I think it might be better to keep the limit at 15L and only exclude simulate_chains() by wrapping it in a # nolint start: cyclocomp_lintr and corresponding nolint end block.