Skip to content

Commit 0d892d5

Browse files
hramezanijeking3
authored andcommitted
Add isort to pre-commit configuration.
1 parent 16ad8a9 commit 0d892d5

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ repos:
2020
args:
2121
- "--config=tox.ini"
2222

23+
- repo: https://github.com/PyCQA/isort
24+
rev: 5.10.1
25+
hooks:
26+
- id: isort
27+
2328
- repo: https://github.com/pre-commit/pre-commit-hooks
2429
rev: v4.1.0
2530
hooks:

simple_history/tests/tests/test_models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,11 @@
7878
Place,
7979
Poll,
8080
PollInfo,
81-
PollWithNonEditableField,
8281
PollWithExcludedFieldsWithDefaults,
8382
PollWithExcludedFKField,
8483
PollWithExcludeFields,
8584
PollWithHistoricalIPAddress,
85+
PollWithNonEditableField,
8686
Province,
8787
Restaurant,
8888
SelfFK,

0 commit comments

Comments
 (0)