Skip to content

Commit 6c4ab42

Browse files
authored
Fix comtypes dependency (#92)
* Fix platform value * Update hooks
1 parent eb4e885 commit 6c4ab42

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# See https://pre-commit.com/hooks.html for more hooks
33
repos:
44
- repo: https://github.com/pre-commit/pre-commit-hooks
5-
rev: v4.6.0
5+
rev: v5.0.0
66
hooks:
77
- id: trailing-whitespace
88
args: [--markdown-linebreak-ext=md]
@@ -21,7 +21,7 @@ repos:
2121
hooks:
2222
- id: nbcheckorder
2323
- repo: https://github.com/myint/docformatter
24-
rev: v1.7.5
24+
rev: master # https://github.com/PyCQA/docformatter/issues/293
2525
hooks:
2626
- id: docformatter
2727
- repo: https://github.com/pre-commit/mirrors-autopep8
@@ -30,7 +30,7 @@ repos:
3030
- id: autopep8
3131
args: ['--in-place', '--ignore=E501,W504']
3232
- repo: https://github.com/charliermarsh/ruff-pre-commit
33-
rev: 'v0.4.9'
33+
rev: 'v0.7.0'
3434
hooks:
3535
- id: ruff
3636
args: [--fix]

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ classifiers = [
3838
"Topic :: Software Development :: Libraries",
3939
]
4040
dependencies = [
41-
"comtypes >= 1.1.7; sys_platform == 'windows'",
41+
"comtypes >= 1.1.7; sys_platform == 'win32'",
4242
"h5py >= 2.10.0",
4343
"ipython >= 7.11.1",
4444
"lmfit >= 1.0.0",

0 commit comments

Comments
 (0)