-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathpyproject.toml
77 lines (64 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
[build-system]
requires = [
"setuptools>=60",
"setuptools-scm>=7.0",
"wheel",
]
build-backend = "setuptools.build_meta"
[tool.setuptools-git-versioning]
enabled = true
[project]
name = "qtile-extras"
authors = [
{name="elParaguayo"}
]
license = {text="MIT"}
description = "Extra items for qtile that are unlikely to be maintained in the main repo."
dynamic = ["version"]
readme = "README.md"
[project.urls]
homepage = "https://github.com/elParaguayo/qtile-extras"
documentation = "https://qtile-extras.readthedocs.io/en/stable/"
changelog = "https://qtile-extras.readthedocs.io/en/stable/changelog.html"
issues = "https://github.com/elParaguayo/qtile-extras/issues"
[tool.setuptools.packages.find]
exclude = ["test*", "docs*", "stubs*"]
[tool.ruff]
line-length = 98
target-version = "py310"
[tool.ruff.lint]
select = [
"F", # pyflakes
"E", # pycodestyle errors
"W", # pycodestyle warnings
"I", # isort
"N", # pep8-naming
"G", # flake8-logging-format
"PIE", # flake8-pie
"UP", # pyupgrade
]
ignore = [
"E501", # ignore due to conflict with formatter
"N818", # exceptions don't need the Error suffix
"E741", # allow ambiguous variable names
]
fixable = ["ALL"]
[tool.ruff.lint.per-file-ignores]
"stubs/*" = [
"N", # naming conventions don't matter in stubs
"F403", # star imports are okay in stubs
"F405", # star imports are okay in stubs
]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.ruff.lint.isort]
known-first-party = ["qtile_extras", "test"]
default-section = "third-party"
[tool.setuptools_scm]
[tool.vulture]
paths = ["qtile_extras", "whitelist.py"]
min_confidence = 100
ignore_decorators = ["@method"]