Skip to content

Commit

Permalink
add configuration for isort
Browse files Browse the repository at this point in the history
  • Loading branch information
florianfischer91 committed Oct 7, 2022
1 parent 2ce83c4 commit 303bf2a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,11 @@ repos:
entry: black .
types: [python]
language: system
pass_filenames: false

- id: isort
name: isort
entry: isort .
types: [python]
language: system
pass_filenames: false
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,8 @@ extend-exclude = '''
| clorm/orm/lark_fact_parser\.py
)
'''

[tool.isort]
profile="black"
line_length=98
extend_skip_glob = [".github/*", "clorm/orm/lark_fact_parser.py"]
1 change: 1 addition & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
pre-commit==2.20.0
black==22.8.0
isort==5.10.1

0 comments on commit 303bf2a

Please sign in to comment.