Skip to content

Commit 4932b10

Browse files
committed
Add isort and configuration to pre-commit review
Disclaimer: Participation by NIST in the creation of the documentation of mentioned software is not intended to imply a recommendation or endorsement by the National Institute of Standards and Technology, nor is it intended to imply that any specific software is necessarily the best available for the purpose.
1 parent c9591ac commit 4932b10

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,8 @@ repos:
33
rev: 22.3.0
44
hooks:
55
- id: black
6+
- repo: https://github.com/pycqa/isort
7+
rev: 5.10.1
8+
hooks:
9+
- id: isort
10+
name: isort (python)

setup.cfg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,7 @@ console_scripts =
3737
[options.package_data]
3838
case_utils = py.typed
3939
case_utils.ontology = *.ttl
40+
41+
[isort]
42+
# https://pycqa.github.io/isort/docs/configuration/black_compatibility.html
43+
profile = black

0 commit comments

Comments
 (0)