1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
|
[project]
requires-python = ">=3.11"
[tool.black]
line-length = 100
[tool.codespell]
skip = '*.po,.git,_build,./third-party/katex/*,./build/*'
check-filenames = true
exclude-file = '.codespell_ignore_lines'
[tool.ruff]
line-length = 100
[tool.ruff.lint]
extend-select = ["E501"]
[tool.ruff.lint.per-file-ignores]
"iotas/application.py" = ["E402"]
"iotas/category_list_model.py" = ["E402"]
"iotas/editor.py" = ["E402"]
"iotas/editor_text_view.py" = ["E402"]
"iotas/focus_mode_helper.py" = ["E402"]
"iotas/markdown_render_view.py" = ["E402"]
"iotas/nextcloud_sync_worker.py" = ["E402"]
"iotas/preferences_dialog.py" = ["E402"]
"iotas/text_utils.py" = ["E402"]
"tests/test_exporter.py" = ["E402"]
[tool.mypy]
ignore_missing_imports = true
follow_imports = "silent"
python_version = "3.11"
packages = "iotas,search-provider,tests"
[tool.pytest.ini_options]
filterwarnings = [
'ignore:.*was imported without specifying a version first.*:Warning',
]
testpaths = [
"tests",
]
pythonpath = [
".",
"./third-party",
]
|