Skip to content

Commit 3ac2cfd

Browse files
[pre-commit.ci] pre-commit autoupdate
1 parent 2d3053a commit 3ac2cfd

2 files changed

Lines changed: 5 additions & 6 deletions

File tree

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,23 +14,23 @@ repos:
1414
- flake8-builtins
1515
- flake8-comprehensions
1616
- repo: https://github.com/PyCQA/isort
17-
rev: c5e8fa75dda5f764d20f66a215d71c21cfa198e1 # frozen: 5.10.1
17+
rev: dbf82f2dd09ae41d9355bcd7ab69187a19e6bf2f # frozen: 5.12.0
1818
hooks:
1919
- id: isort
2020
- repo: https://github.com/psf/black
21-
rev: 2ddea293a88919650266472186620a98a4a8bb37 # frozen: 22.12.0
21+
rev: b0d1fba7ac3be53c71fb0d3211d911e629f8aecb # frozen: 23.1.0
2222
hooks:
2323
- id: black
2424
- repo: https://github.com/PyCQA/docformatter
25-
rev: 8b8dae1d990e2e4fec7ff6704a79c23a403cd605 # frozen: v1.5.0
25+
rev: 11d9a03865ae1f859d56517daec72e4f9f2401f0 # frozen: v1.5.1
2626
hooks:
2727
- id: docformatter
2828
- repo: https://github.com/pre-commit/pre-commit-hooks
2929
rev: f71fa2c1f9cf5cb705f73dffe4b21f7c61470ba9 # frozen: v4.4.0
3030
hooks:
3131
- id: check-yaml
3232
- repo: https://github.com/pre-commit/pygrep-hooks
33-
rev: 6f51a66bba59954917140ec2eeeaa4d5e630e6ce # frozen: v1.9.0
33+
rev: 3a6eb0fadf60b3cccfd80bad9dbb6fae7e47b316 # frozen: v1.10.0
3434
hooks:
3535
- id: python-use-type-annotations
3636
- id: python-check-blanket-noqa
@@ -44,7 +44,7 @@ repos:
4444
- flake8-builtins
4545
- flake8-comprehensions
4646
- repo: https://github.com/pre-commit/mirrors-mypy
47-
rev: 0b037c2b59aa62dc3be3287d175295f1a5547eb9 # frozen: v0.991
47+
rev: b176ead5d5b92b1d4e651c118017f8fd32de424a # frozen: v1.1.1
4848
hooks:
4949
- id: mypy
5050
args: ["--scripts-are-modules"]

src/mdurl/_parse.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,6 @@ def parse(self, url: str, slashes_denote_host: bool) -> "MutableURL":
152152
if not HOSTLESS_PROTOCOL[proto] and (
153153
slashes or (proto and not SLASHED_PROTOCOL[proto])
154154
):
155-
156155
# there's a hostname.
157156
# the first instance of /, ?, ;, or # ends the host.
158157
#

0 commit comments

Comments
 (0)