chg: Add sphinx-autodoc-typehints

pull/347/head
Raphaël Vinot 2019-02-07 14:57:54 +01:00
parent 8bed0a8e55
commit f560153f20
3 changed files with 20 additions and 13 deletions

View File

@ -2,6 +2,11 @@ version: 2
python:
version: 3.6
install:
- method: pip
path: .
extra_requirements:
- docs
build:
image: latest

View File

@ -30,6 +30,7 @@ from recommonmark.parser import CommonMarkParser
# ones.
extensions = [
'sphinx.ext.autodoc',
'sphinx_autodoc_typehints'
'sphinx.ext.doctest',
'sphinx.ext.intersphinx',
'sphinx.ext.todo',

View File

@ -45,7 +45,8 @@ setup(
extras_require={'fileobjects': ['lief>=0.8', 'python-magic'],
'neo': ['py2neo'],
'openioc': ['beautifulsoup4'],
'virustotal': ['validators']},
'virustotal': ['validators'],
'docs': ['sphinx-autodoc-typehints']},
tests_require=[
'jsonschema',
'python-magic',