Skip to content

Commit be69f00

Browse files
authored
Add blackdoc to .pre-commit-config.yaml (#7)
1 parent f4a4716 commit be69f00

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,8 @@ repos:
66
rev: 23.3.0
77
hooks:
88
- id: black
9+
- repo: https://github.com/keewis/blackdoc
10+
rev: v0.3.9
11+
hooks:
12+
- id: blackdoc
13+
files: '\.py$'

pvgmsh/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ def delaunay_2d(poly_data, size=1e-2):
2222
2323
Examples
2424
--------
25-
This example is inspired by `Gmsh Python tutorial 1 <https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_10_5/tutorials/python/t1.py>`_.
25+
This example is inspired by Gmsh Python tutorial 1.
26+
See https://gmsh.info/doc/texinfo/gmsh.html#t1 .
2627
2728
>>> import pvgmsh
2829
>>> import pyvista as pv

0 commit comments

Comments
 (0)