Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
eagmon committed Feb 21, 2024
1 parent d9e5815 commit 11c897a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,5 @@ attr-rgx=^[a-z_][a-z0-9]*((_[a-z0-9]+)*)?$
variable-rgx=^[a-z][a-z0-9]*((_[a-z0-9]+)*)?$
argument-rgx=^[a-z][a-z0-9]*((_[a-z0-9]+)*)?$
include-naming-hint=yes
max-statements=65
max-statements=70
max-nested-blocks=6
3 changes: 2 additions & 1 deletion vivarium/core/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -1027,7 +1027,8 @@ def run_for(
self._emit_store_data()
emit_time += self.emit_step
if self.global_time_precision is not None:
emit_time = round(emit_time, self.global_time_precision)
emit_time = round(emit_time,
self.global_time_precision)

else:
# all processes have run past the interval
Expand Down

0 comments on commit 11c897a

Please sign in to comment.