Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v6.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: requirements-txt-fixer
- id: mixed-line-ending
- id: check-merge-conflict
- repo: https://github.com/asottile/reorder_python_imports
rev: v3.9.0
- repo: https://github.com/asottile/reorder-python-imports
rev: v3.16.0
hooks:
- id: reorder-python-imports
args: [ --py310-plus ]
- repo: https://github.com/asottile/pyupgrade
rev: v3.3.1
rev: v3.21.2
hooks:
- id: pyupgrade
args: [ --py310-plus ]
- repo: https://github.com/asottile/add-trailing-comma
rev: v2.4.0
rev: v4.0.0
hooks:
- id: add-trailing-comma
- repo: https://github.com/psf/black
rev: 22.12.0
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 26.3.1
hooks:
- id: black
args: [ --line-length=120 ]
Expand Down
1 change: 0 additions & 1 deletion advent_of_code_2020/day_07/part_1.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import re
from typing import DefaultDict


LINE_RE = re.compile(r"^(\w+ \w+) bags contain (.+)$")
CHILD_RE = re.compile(r"(\d+) (\w+ \w+)")

Expand Down
Loading