refactor: string and setup.cfg normalization (#593)

This commit is contained in:
Henry Schreiner
2021-04-25 12:38:28 -04:00
committed by GitHub
parent 2f47e64225
commit 38f52569aa
3 changed files with 42 additions and 31 deletions
+8 -2
View File
@@ -6,6 +6,8 @@ repos:
- id: check-case-conflict
- id: check-merge-conflict
- id: check-yaml
- id: check-toml
- id: debug-statements
- id: end-of-file-fixer
exclude: (cibuildwheel/resources/pinned_docker_images.cfg)|(.svg$)
- id: mixed-line-ending
@@ -22,6 +24,12 @@ repos:
- id: black
files: ^bin/update_pythons.py|setup.py$
- repo: https://github.com/asottile/setup-cfg-fmt
rev: v1.16.0
hooks:
- id: setup-cfg-fmt
stages: [manual]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.812
hooks:
@@ -54,8 +62,6 @@ repos:
exclude: cibuildwheel/resources/
additional_dependencies: [flake8-bugbear]
# The original pybind11 checks for a few C++ style items
- repo: local
hooks:
- id: disallow-caps