Add tools settings to pyproject
This commit is contained in:
@@ -46,3 +46,22 @@ include = ["novelwriter*"]
|
|||||||
|
|
||||||
[project.gui-scripts]
|
[project.gui-scripts]
|
||||||
novelwriter = "novelwriter:main"
|
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"]
|
||||||
|
|||||||
Reference in New Issue
Block a user