Skip to content

Commit d8f657a

Browse files
committed
Add istore as pre-commit hook
1 parent 1033de5 commit d8f657a

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.pre-commit-config.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,11 @@ repos:
1515
rev: 88caf5ac484f5c09aedc02167c59c66ff0af0068 # 3.7.7
1616
hooks:
1717
- id: flake8
18+
- repo: git://github.com/asottile/seed-isort-config
19+
rev: v1.7.0
20+
hooks:
21+
- id: seed-isort-config
22+
- repo: git://github.com/pre-commit/mirrors-isort
23+
rev: v4.3.4
24+
hooks:
25+
- id: isort

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ test=pytest
55
exclude = setup.py,docs/*,examples/*,tests
66
max-line-length = 120
77

8-
# TODO Add isort as a pre-commit hook
98
[isort]
109
known_first_party=graphene,graphene_sqlalchemy
10+
known_third_party=app,database,flask,flask_graphql,graphql_relay,graphql_server,models,nameko,promise,py,pytest,schema,setuptools,singledispatch,six,sphinx_graphene_theme,sqlalchemy,sqlalchemy_utils
1111

1212
[bdist_wheel]
1313
universal=1

0 commit comments

Comments
 (0)