Skip to content

Commit

Permalink
fix(config): fix docstring for Sphinx
Browse files Browse the repository at this point in the history
  • Loading branch information
denisrosset committed Mar 23, 2022
1 parent 09d60ab commit 917849b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/configpile/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def validators_(cls: Type[_Config]) -> Sequence[Callable[[_Config], Optional[Err
Returns all validators present in the given subclass of this class
Validators are methods that take no arguments (except self) and return an optional error.
Their name starts with "validate_" and ends with an underscore.
Their name starts with ``validate_`` and ends with an underscore.
Returns:
A sequence of all validators
Expand Down

0 comments on commit 917849b

Please sign in to comment.