bump some pre-commit hooks and remove default cfg
Removed default config options while bumping the versions of some pre-commit hooks. Moved the configuration of doc8 to pyproject.toml to hopefully consolidate everything in one place. Enable codespell hook to correct the spelling for users. Change-Id: I76933b52ed8009f5e97c382b82dd786adf3a5444 Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
This commit is contained in:
parent
488bc76cab
commit
5cf5f6f275
@ -47,13 +47,13 @@ repos:
|
||||
rev: v2.2.6
|
||||
hooks:
|
||||
- id: codespell
|
||||
args: [--write-changes]
|
||||
- repo: https://github.com/sphinx-contrib/sphinx-lint
|
||||
rev: v0.6.8
|
||||
rev: v1.0.0
|
||||
hooks:
|
||||
- id: sphinx-lint
|
||||
args: [--enable=default-role]
|
||||
files: ^doc/|releasenotes|api-ref
|
||||
types: [rst]
|
||||
- repo: https://opendev.org/openstack/bashate
|
||||
rev: 2.1.0
|
||||
hooks:
|
||||
@ -77,16 +77,9 @@ repos:
|
||||
types: [ python ]
|
||||
require_serial: true
|
||||
- repo: https://github.com/PyCQA/doc8
|
||||
rev: v1.1.1
|
||||
rev: v1.1.2
|
||||
hooks:
|
||||
- id: doc8
|
||||
args: ["--ignore", "D001"]
|
||||
name: doc8
|
||||
description: This hook runs doc8 for linting docs
|
||||
entry: python -m doc8
|
||||
language: python
|
||||
files: \.rst$
|
||||
require_serial: true
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: check-releasenotes
|
||||
|
@ -1,3 +1,6 @@
|
||||
[build-system]
|
||||
requires = ["pbr>=6.0.0", "setuptools>=64.0.0"]
|
||||
build-backend = "pbr.build"
|
||||
|
||||
[tool.doc8]
|
||||
ignore = ["D001"]
|
||||
|
Loading…
Reference in New Issue
Block a user