Merge "bump some pre-commit hooks and remove default cfg"

This commit is contained in:
Zuul 2024-11-12 23:26:33 +00:00 committed by Gerrit Code Review
commit dcbe0e882e
2 changed files with 7 additions and 11 deletions

View File

@ -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,19 +77,12 @@ 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
name: check-releasenotes
language: python
entry: python tools/check-releasenotes.py
entry: python tools/check-releasenotes.py

View File

@ -1,3 +1,6 @@
[build-system]
requires = ["pbr>=6.0.0", "setuptools>=64.0.0"]
build-backend = "pbr.build"
[tool.doc8]
ignore = ["D001"]