Skip to content

Commit 617ab5b

Browse files
committed
Update pre-commit hooks
1 parent 26aa23b commit 617ab5b

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
- name: Build and check
8282
run: |
8383
rm -rf dist/ && python -m build
84-
twine check dist/*
84+
twine check --strict dist/*
8585
- name: Publish
8686
run: |
8787
twine upload dist/*

.pre-commit-config.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
11
repos:
22
- repo: https://github.com/executablebooks/mdformat
3-
rev: 86e5456ae9e9de3d5319ec49c4273a0c30224e8c # frozen: 0.7.8
3+
rev: b8c05ae822d53326e967da45367d0408afc56a81 # frozen: 0.7.14
44
hooks:
55
- id: mdformat
66
additional_dependencies:
77
- mdformat-gfm
88
- repo: https://github.com/asottile/yesqa
9-
rev: 644ede78511c02fc6f8e03e014cc1ddcfbf1e1f5 # frozen: v1.2.3
9+
rev: 35cf7dc24fa922927caded7a21b2a8cb04bf8e10 # frozen: v1.3.0
1010
hooks:
1111
- id: yesqa
1212
additional_dependencies:
1313
- flake8-bugbear
1414
- flake8-builtins
1515
- flake8-comprehensions
1616
- repo: https://github.com/PyCQA/isort
17-
rev: fd5ba70665a37ec301a1f714ed09336048b3be63 # frozen: 5.9.3
17+
rev: c5e8fa75dda5f764d20f66a215d71c21cfa198e1 # frozen: 5.10.1
1818
hooks:
1919
- id: isort
2020
- repo: https://github.com/psf/black
21-
rev: e3000ace2fd1fcb1c181bb7a8285f1f976bcbdc7 # frozen: 21.7b0
21+
rev: ae2c0758c9e61a385df9700dc9c231bf54887041 # frozen: 22.3.0
2222
hooks:
2323
- id: black
2424
- repo: https://github.com/myint/docformatter
2525
rev: 67919ee01837761f2d954d7fbb08c12cdd38ec5a # frozen: v1.4
2626
hooks:
2727
- id: docformatter
2828
- repo: https://github.com/pre-commit/pre-commit-hooks
29-
rev: 38b88246ccc552bffaaf54259d064beeee434539 # frozen: v4.0.1
29+
rev: db7346d375eda68a0174f2c057dd97f2fbffe030 # frozen: v4.2.0
3030
hooks:
3131
- id: check-yaml
3232
- repo: https://github.com/pre-commit/pygrep-hooks
@@ -36,15 +36,15 @@ repos:
3636
- id: python-check-blanket-noqa
3737
- id: python-check-blanket-type-ignore
3838
- repo: https://github.com/PyCQA/flake8
39-
rev: dcd740bc0ebaf2b3d43e59a0060d157c97de13f3 # frozen: 3.9.2
39+
rev: cbeb4c9c4137cff1568659fcc48e8b85cddd0c8d # frozen: 4.0.1
4040
hooks:
4141
- id: flake8
4242
additional_dependencies:
4343
- flake8-bugbear
4444
- flake8-builtins
4545
- flake8-comprehensions
4646
- repo: https://github.com/pre-commit/mirrors-mypy
47-
rev: 44afb68a9695d04030edc5cdc5a4fc4f17e4f9e2 # frozen: v0.910
47+
rev: bdfdfda2221c4fd123dbc9ac0f2074951bd5af58 # frozen: v0.942
4848
hooks:
4949
- id: mypy
5050
args: ["--scripts-are-modules"]

tests/fixtures/url.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -606,5 +606,5 @@
606606
"protocol": "http:",
607607
"hostname": "",
608608
"slashes": True,
609-
}
609+
},
610610
}

0 commit comments

Comments
 (0)