Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🔧 MAINTAIN: Add isort pre-commit hook #5151

Merged
merged 11 commits into from
Sep 23, 2021
Prev Previous commit
Next Next commit
Apply suggestions from code review
  • Loading branch information
chrisjsewell authored Sep 23, 2021
commit 3c397f80f8dd2a98c95b957cb27963438a42077b
4 changes: 0 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@ repos:
rev: 5.9.3
hooks:
- id: isort
files: >-
(?x)^(
aiida/common/.*py|
)$

- repo: https://github.com/ikamensh/flynt/
rev: '0.66'
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ markers = [
]

[tool.isort]
line_length = 100
line_length = 120
force_sort_within_sections = true
# this configuration is compatible with yapf
multi_line_output = 3
Expand Down