-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
83 lines (74 loc) · 1.77 KB
/
pyproject.toml
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
[project]
name = "qbpm"
version = "1.0-rc2"
description = "qutebrowser profile manager"
license = { file = "LICENSE" }
readme = "README.md"
authors = [{ name = "Peter Rice", email = "[email protected]" }]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Typing :: Typed",
]
requires-python = ">= 3.9"
dependencies = ["click", "xdg-base-dirs"]
[project.urls]
repository = "https://github.com/pvsr/qbpm"
[project.scripts]
qbpm = "qbpm.main:main"
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[tool.pytest.ini_options]
pythonpath = "src"
[tool.mypy]
disallow_untyped_defs = true
disallow_any_unimported = true
no_implicit_optional = true
check_untyped_defs = true
warn_return_any = true
warn_unused_ignores = true
[[tool.mypy.overrides]]
module = "tests.*"
disallow_untyped_defs = false
[tool.ruff]
src = ["src", "test"]
target-version = "py39"
[tool.ruff.lint]
select = [
"E",
"F",
"W",
"I",
"UP",
"N",
"ANN",
"B",
"A",
"C4",
"PT",
"SIM",
"ARG",
"PTH",
"PL",
"RUF",
]
ignore = [
"E501", # line too long
"ANN101", # annotate self
"ANN102", # annotate cls
"ANN401", # ban Any
"PLR0911", # too many returns
"PLR2004", # magic values
]
[tool.ruff.lint.per-file-ignores]
"tests/test_main.py" = [ "S101", "ANN201"]
"tests/test_profiles.py" = [ "S101", "ANN201"]
"tests/test_desktop.py" = [ "S101", "ANN201"]