[all.Documentation]
bears = WriteGoodLintBear
files = docs/**.rst
-
-[all.YAML]
-bears = YAMLLintBear
-files = docs_conf/**.yaml
-document_start = True
-yamllint_config = yamllint.conf
max_line_legth = 88
[*.yaml]
-indent_size = 4
+indent_size = 2
- repo: https://github.com/jorisroovers/gitlint
rev: v0.13.1
hooks:
- - id: gitlint
+ - id: gitlint
+
+ - repo: https://github.com/prettier/prettier
+ rev: 2.0.5
+ hooks:
+ - id: prettier
- repo: https://github.com/ambv/black
rev: stable
hooks:
- - id: black
+ - id: black
- repo: https://gitlab.com/pycqa/flake8
rev: 3.8.3
hooks:
- - id: flake8
- args: ['--max-line-length=88']
+ - id: flake8
+ args: ["--max-line-length=88"]
- repo: https://github.com/pycqa/bandit
rev: 1.6.2
hooks:
- - id: bandit
- # Bandit does not need to run on test code
- exclude: tests/*
+ - id: bandit
+ # Bandit does not need to run on test code
+ exclude: tests/*
- repo: https://github.com/pycqa/pydocstyle
rev: 5.0.2
hooks:
- - id: pydocstyle
+ - id: pydocstyle
+
+ - repo: https://github.com/adrienverge/yamllint
+ rev: v1.24.2
+ hooks:
+ - id: yamllint
author: DEFAULT_AUTHOR
copyright: 2018, DEFAULT_PROJECT
-needs_sphinx: '1.6.5'
+needs_sphinx: "1.6.5"
extensions:
- sphinx.ext.autodoc
- sphinx.ext.doctest
author: Linux Foundation Releng
copyright: 2017-2018, The Linux Foundation
-needs_sphinx: '1.6.5'
+needs_sphinx: "1.6.5"
extensions:
- sphinx.ext.autodoc
- sphinx.ext.doctest
release: master
version: master
-author: 'Open Network Automation Platform'
+author: "Open Network Automation Platform"
# yamllint disable-line rule:line-length
-copyright: '2020 ONAP. Licensed under Creative Commons Attribution 4.0 International License'
+copyright: "2020 ONAP. Licensed under Creative Commons Attribution 4.0 International License"
-pygments_style: 'sphinx'
+pygments_style: "sphinx"
html_theme: sphinx_rtd_theme
html_theme_options:
- style_nav_header_background: 'white'
- sticky_navigation: 'False'
+ style_nav_header_background: "white"
+ sticky_navigation: "False"
html_logo: _static/logo_onap_2017.png
html_favicon: _static/favicon.ico
html_static_path:
- sphinxcontrib.plantuml
- sphinxcontrib.swaggerdoc
-
exclude_patterns:
- .DS_Store
- _build
author: OpenDaylight Project
copyright: 2016-2018, OpenDaylight Project
-needs_sphinx: '1.6.5'
+needs_sphinx: "1.6.5"
extensions:
- sphinx.ext.autodoc
- sphinx.ext.doctest
author: Open Platform for NFV
copyright: 2020, OPNFV. Licensed under CC BY 4.0
-needs_sphinx: '1.3'
+needs_sphinx: "1.3"
extensions:
- sphinxcontrib.httpdomain
- sphinx.ext.autodoc
html_theme_options:
bootswatch_theme: journal
navbar_sidebarrel: false
- navbar_title: ' '
+ navbar_title: " "
html_logo: _static/logo.png
html_favicon: _static/favicon.ico
html_static_path:
author: O-RAN Project
copyright: 2019, O-RAN Project
-needs_sphinx: '1.6.5'
+needs_sphinx: "1.6.5"
extensions:
- sphinx.ext.autodoc
- sphinx.ext.doctest
- _static
html_theme: sphinx_rtd_theme
html_theme_options:
- style_nav_header_background: 'white'
- sticky_navigation: 'False'
+ style_nav_header_background: "white"
+ sticky_navigation: "False"
author: OpenDaylight Project
copyright: 2018, OpenDaylight Project a Series of LF Projects, LLC
-needs_sphinx: '1.6.5'
+needs_sphinx: "1.6.5"
extensions:
- sphinx.ext.autodoc
- sphinx.ext.doctest