Skip to content

Commit 64a377b

Browse files
author
Max Jones
committed
Don't assume nodejs is installed for pre-commit
1 parent 85d3db6 commit 64a377b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.pre-commit-config.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ repos:
3636
rev: v2.6.2
3737
hooks:
3838
- id: prettier
39-
language_version: system
4039

4140
- repo: https://github.com/pre-commit/mirrors-mypy
4241
rev: v0.942

doc/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ def skip(app, what, name, obj, skip, options):
7070
def setup(app):
7171
app.connect('autodoc-skip-member', skip)
7272

73-
autodoc_mock_imports = ["torch"]
73+
74+
autodoc_mock_imports = ['torch']
7475

7576
# link to github issues
7677
extlinks = {

0 commit comments

Comments
 (0)