Tooling bits

This commit is contained in:
Mark Cornick 2022-08-17 20:41:39 -04:00
parent 1d7217f5ca
commit 7f7c3f03d1
2 changed files with 21 additions and 0 deletions

19
.pre-commit-config.yaml Normal file
View File

@ -0,0 +1,19 @@
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/pycqa/isort
rev: 5.10.1
hooks:
- id: isort
name: isort (python)
- repo: https://github.com/psf/black
rev: 22.3.0
hooks:
- id: black
language_version: python3.10

2
pyproject.toml Normal file
View File

@ -0,0 +1,2 @@
[tool.isort]
profile = "black"