1[project]
2name = "qbpm"
3version = "2.2"
4description = "qutebrowser profile manager"
5license = "GPL-3.0-or-later"
6license-files = ["LICENSE"]
7readme = "README.md"
8authors = [{ name = "Peter Rice", email = "peter@peterrice.xyz" }]
9classifiers = [
10 "Environment :: Console",
11 "Intended Audience :: End Users/Desktop",
12 "Operating System :: MacOS",
13 "Operating System :: POSIX :: Linux",
14 "Programming Language :: Python :: 3",
15 "Typing :: Typed",
16]
17requires-python = ">= 3.11"
18dependencies = [
19 "click",
20 "xdg-base-dirs",
21 "dacite",
22]
23
24[project.urls]
25homepage = "https://github.com/pvsr/qbpm"
26repository = "https://github.com/pvsr/qbpm"
27issues = "https://github.com/pvsr/qbpm/issues"
28changelog = "https://github.com/pvsr/qbpm/blob/main/CHANGELOG.md"
29
30[project.scripts]
31qbpm = "qbpm.main:main"
32
33[build-system]
34requires = ["flit_core >=3.2,<4"]
35build-backend = "flit_core.buildapi"
36
37[tool.pytest.ini_options]
38pythonpath = "src"
39
40[tool.mypy]
41disallow_untyped_defs = true
42disallow_any_unimported = true
43no_implicit_optional = true
44check_untyped_defs = true
45warn_return_any = true
46warn_unused_ignores = true
47
48[[tool.mypy.overrides]]
49module = "tests.*"
50disallow_untyped_defs = false
51
52[tool.ruff.lint]
53select = [
54 "E",
55 "F",
56 "W",
57 "I",
58 "UP",
59 "N",
60 "ANN",
61 "B",
62 "A",
63 "C4",
64 "PT",
65 "SIM",
66 "ARG",
67 "PTH",
68 "PL",
69 "RUF",
70]
71# long lines
72ignore = [ "E501" ]
73
74[tool.ruff.lint.per-file-ignores]
75"tests/test_*.py" = [ "S101", "ANN201"]