Skip to content
This repository was archived by the owner on Dec 5, 2025. It is now read-only.

Commit 5ba9076

Browse files
authored
[client] pre-commit setup (#126)
1 parent 6deb5ec commit 5ba9076

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.pre-commit-config.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
repos:
2+
- repo: https://github.com/psf/black
3+
rev: 20.8b1
4+
hooks:
5+
- id: black
6+
- repo: https://github.com/pre-commit/pre-commit-hooks
7+
rev: v3.3.0
8+
hooks:
9+
- id: check-yaml

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def run(self):
6363
],
6464
cmdclass={"verify": VerifyVersionCommand},
6565
extras_require={
66-
"dev": ["black", "wheel", "pytest", "pytest-cov"],
66+
"dev": ["black", "wheel", "pytest", "pytest-cov", "pre-commit"],
6767
"doc": ["autoapi", "sphinx_rtd_theme", "sphinx-autodoc-typehints"],
6868
}, # Optional
6969
)

0 commit comments

Comments
 (0)