File: pyproject.toml

package info (click to toggle)
iotas 0.12.7-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,484 kB
  • sloc: python: 14,674; xml: 725; javascript: 44; makefile: 2
file content (46 lines) | stat: -rw-r--r-- 1,031 bytes parent folder | download
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",
]