Add tools settings to pyproject

This commit is contained in:
Veronica Berglyd Olsen
2024-05-01 19:12:27 +02:00
parent d3c9168ebf
commit 8f9a55c5ca
+19
View File
@@ -46,3 +46,22 @@ include = ["novelwriter*"]
[project.gui-scripts]
novelwriter = "novelwriter:main"
[tool.isort]
py_version="310"
line_length = 99
wrap_length = 79
multi_line_output = 5
force_grid_wrap = 0
lines_between_types = 1
forced_separate = ["tests.*"]
[tool.flake8]
max-line-length = 99
ignore = ["E133", "E221", "E226", "E228", "E241", "W503", "ANN101", "ANN102", "ANN401"]
per-file-ignores = ["tests/*:ANN"]
exclude = ["docs/*"]
[tool.autopep8]
max_line_length = 99
ignore = ["E133", "E221", "E226", "E228", "E241", "W503"]