Set up isort to allow auto formatting imports
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user