Skip to content

Commit e817c79

Browse files
authored
Merge pull request #240 from xmlsec/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents 2a04386 + d536714 commit e817c79

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.pre-commit-config.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
# See https://pre-commit.com/hooks.html for more hooks
33
repos:
44
- repo: https://github.com/psf/black
5-
rev: 22.8.0
5+
rev: 24.3.0
66
hooks:
77
- id: black
88
types: []
99
files: ^.*.pyi?$
1010
exclude: ^doc/
1111
- repo: https://github.com/pre-commit/pre-commit-hooks
12-
rev: v4.3.0
12+
rev: v4.5.0
1313
hooks:
1414
- id: no-commit-to-branch
1515
- id: trailing-whitespace
@@ -25,24 +25,24 @@ repos:
2525
- id: pretty-format-json
2626
args: [--autofix]
2727
- repo: https://github.com/PyCQA/flake8
28-
rev: 5.0.4
28+
rev: 7.0.0
2929
hooks:
3030
- id: flake8
3131
exclude: ^setup.py$
3232
additional_dependencies: [flake8-docstrings, flake8-bugbear, flake8-logging-format, flake8-builtins, flake8-eradicate, flake8-fixme, pep8-naming, flake8-pep3101, flake8-annotations-complexity,flake8-pyi]
3333
- repo: https://github.com/PyCQA/isort
34-
rev: 5.12.0
34+
rev: 5.13.2
3535
hooks:
3636
- id: isort
3737
- repo: https://github.com/pre-commit/mirrors-mypy
38-
rev: v0.981
38+
rev: v1.9.0
3939
hooks:
4040
- id: mypy
4141
exclude: (setup.py|tests/.*.py|doc/.*)
4242
types: []
4343
files: ^.*.pyi?$
4444
additional_dependencies: [lxml-stubs,types-docutils]
4545
- repo: https://github.com/pre-commit/pygrep-hooks
46-
rev: v1.9.0
46+
rev: v1.10.0
4747
hooks:
4848
- id: rst-backticks

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def run(self):
133133
[('MODULE_NAME', self.distribution.metadata.name), ('MODULE_VERSION', self.distribution.metadata.version)]
134134
)
135135
# escape the XMLSEC_CRYPTO macro value, see mehcode/python-xmlsec#141
136-
for (key, value) in ext.define_macros:
136+
for key, value in ext.define_macros:
137137
if key == 'XMLSEC_CRYPTO' and not (value.startswith('"') and value.endswith('"')):
138138
ext.define_macros.remove((key, value))
139139
ext.define_macros.append((key, '"{0}"'.format(value)))

0 commit comments

Comments
 (0)