Skip to content

Commit

Permalink
Add blackdoc to .pre-commit-config.yaml (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
tkoyama010 authored Dec 23, 2023
1 parent f4a4716 commit be69f00
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,8 @@ repos:
rev: 23.3.0
hooks:
- id: black
- repo: https://github.com/keewis/blackdoc
rev: v0.3.9
hooks:
- id: blackdoc
files: '\.py$'
3 changes: 2 additions & 1 deletion pvgmsh/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ def delaunay_2d(poly_data, size=1e-2):
Examples
--------
This example is inspired by `Gmsh Python tutorial 1 <https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_10_5/tutorials/python/t1.py>`_.
This example is inspired by Gmsh Python tutorial 1.
See https://gmsh.info/doc/texinfo/gmsh.html#t1 .
>>> import pvgmsh
>>> import pyvista as pv
Expand Down

0 comments on commit be69f00

Please sign in to comment.