Skip to content

Commit

Permalink
Pre-commit autoupdate (#45)
Browse files Browse the repository at this point in the history
Co-authored-by: quant-ranger[bot] <132915763+quant-ranger[bot]@users.noreply.github.com>
  • Loading branch information
quant-ranger[bot] authored Feb 5, 2024
1 parent 2a5ef2b commit 95bc6c7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
repos:
- repo: https://github.com/Quantco/pre-commit-mirrors-black
rev: 23.12.1
rev: 24.1.1
hooks:
- id: black-conda
args:
- --safe
- --target-version=py36
- repo: https://github.com/Quantco/pre-commit-mirrors-flake8
rev: 6.1.0
rev: 7.0.0
hooks:
- id: flake8-conda
- repo: https://github.com/Quantco/pre-commit-mirrors-isort
Expand Down
8 changes: 5 additions & 3 deletions src/multiregex/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,11 @@ def _generate_missing_prematchers(self, patterns):
patterns = [
(
pattern,
self.generate_prematchers(pattern)
if prematchers is None
else prematchers,
(
self.generate_prematchers(pattern)
if prematchers is None
else prematchers
),
)
for pattern, prematchers in patterns
]
Expand Down

0 comments on commit 95bc6c7

Please sign in to comment.