-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
110 lines (100 loc) · 1.86 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
[tool.poetry]
name = "wlr-layout-ui"
version = "1.6.15"
description = "A tiny GUI to configure screen layouts on wayland"
authors = ["fdev31 <[email protected]>"]
readme = "README.md"
homepage = "https://github.com/fdev31/wlr-layout-ui"
packages = [{include = "wlr_layout_ui", from = "src"}]
license = "MIT"
[tool.poetry.scripts]
wlrlui = 'wlr_layout_ui:main'
[tool.poetry.dependencies]
python = "^3.8"
pyglet = "^2.0.0"
tomli = "^2.0.1"
tomli-w = "^1.0.0"
[tool.poetry.group.dev.dependencies]
mypy = "^1.2.0"
vulture = "^2.7"
pydantic = "^1.10.7"
black = "^23.3.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
line-length = 140
preview = true
exclude = ["*_v?.py", "tests", "scripts", "sample_extension", ".git"]
[tool.ruff.lint]
fixable = ["ALL"]
select = [
# pycodestyle
"E", # error
"W", # warn
# builtins
"A",
# bugbear
"B",
# comprehensions
"C",
# err msg
"EM",
# str concat
"ISC",
# import conventions
"ICN",
# flake8 log
"G",
"LOG",
# pep8 naming
"D",
# pydocstyle
"D",
# mccabe
"C",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# isort
"I",
# flake-2020
"YTT",
# flake-annotations
"ANN",
# flake-async
"ASYNC",
# flake-blind-except
"BLE",
# flake-boolean-trap
"FBT",
# pytest
"PT",
# self
"SLF",
# tidy-imports
"TID",
# type checking
"TCH",
# unused arg
"ARG",
# pathlib
"PTH",
# pylint
"PL",
# perflnt
"PERF",
# ruf
"RUF",
]
ignore = ["ANN201", "ANN001", "ANN002", "ANN202", "ARG002", "PLR", "C", "FBT002", "D107", "ANN204", "D", "ISC001"]
[tool.ruff.format]
indent-style = "space"
line-ending = "auto"
[tool.ruff.lint.pydocstyle]
convention = "google"