Set up isort to allow auto formatting imports

This commit is contained in:
2022-05-10 02:25:36 +02:00
parent ab8fdfef17
commit 27cb982931
2 changed files with 18 additions and 9 deletions
+8
View File
@@ -17,6 +17,7 @@ recurring-ical-events = "^1.0.1-beta.0"
[tool.poetry.dev-dependencies]
black = "^22.1.0"
isort = "^5.10.1"
[build-system]
requires = ["poetry-core>=1.0.0"]
@@ -24,3 +25,10 @@ build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 120
[tool.isort]
profile = "black"
line_length = 120
lines_between_types = 1
lines_after_imports = 2
lines_between_sections = 2