Skip to content

Commit 0476375

Browse files
[pre-commit.ci] pre-commit autoupdate (#178)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/Lucas-C/pre-commit-hooks: 3592548bbd98528887eeed63486cf6c9bae00b98 → 79b8e4f273301e412602c856ddbc0c066765c98c](Lucas-C/pre-commit-hooks@3592548...79b8e4f) - [github.com/psf/black: f1d4e742c91dd5179d742b0db9293c4472b765f8 → fc0be6eb1e2a96091e6f64009ee5e9081bf8b6c6](psf/black@f1d4e74...fc0be6e) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 8b962e1 commit 0476375

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/Lucas-C/pre-commit-hooks
3-
rev: 3592548bbd98528887eeed63486cf6c9bae00b98 # frozen: v1.1.10
3+
rev: 79b8e4f273301e412602c856ddbc0c066765c98c # frozen: v1.1.11
44
hooks:
55
- id: insert-license
66
files: '^src/.+\.py$'
@@ -26,7 +26,7 @@ repos:
2626
hooks:
2727
- id: isort
2828
- repo: https://github.com/psf/black
29-
rev: f1d4e742c91dd5179d742b0db9293c4472b765f8 # frozen: 21.12b0
29+
rev: fc0be6eb1e2a96091e6f64009ee5e9081bf8b6c6 # frozen: 22.1.0
3030
hooks:
3131
- id: black
3232
- repo: https://github.com/myint/docformatter

src/tomli/_re.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
)
5656
RE_LOCALTIME = re.compile(_TIME_RE_STR)
5757
RE_DATETIME = re.compile(
58-
fr"""
58+
rf"""
5959
([0-9]{{4}})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01]) # date, e.g. 1988-10-27
6060
(?:
6161
[Tt ]

0 commit comments

Comments
 (0)