Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#833)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: William Jamieson <[email protected]>
  • Loading branch information
pre-commit-ci[bot] and WilliamJamieson authored Aug 21, 2023
1 parent a206752 commit b423945
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ repos:
args: ["--py38-plus"]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: 'v0.0.282'
rev: 'v0.0.284'
hooks:
- id: ruff
args: ["--fix"]
Expand Down
2 changes: 1 addition & 1 deletion romancal/associations/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def generate(pool, rules, version_id=None, finalize=True):
documentation for a full description.
"""
associations = []
if type(version_id) is bool:
if isinstance(version_id, bool):
version_id = make_timestamp()
process_queue = ProcessQueueSorted(
[ProcessList(items=pool, rules=[rule for _, rule in rules.items()])]
Expand Down

0 comments on commit b423945

Please sign in to comment.