-
Notifications
You must be signed in to change notification settings - Fork 10
/
pyproject.toml
108 lines (98 loc) · 2.32 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
[project]
name = "flashfocus"
description = "Simple focus animations for tiling window managers."
dynamic = [
"version",
]
authors = [
{ name = "Fenner Macrae", email="[email protected]" }
]
license = { file = "LICENSE" }
readme = "README.md"
classifiers = [
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX :: Linux",
"Development Status :: 6 - Mature",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Desktop Environment :: Window Managers",
"Topic :: Desktop Environment"
]
keywords=[
"xorg",
"x11",
"flash",
"focus",
"i3",
"sway",
"wlroots",
"bspwm",
"awesomewm",
"herbsluftwm"
]
requires-python = ">=3.8"
dependencies = [
"xcffib>=0.6.0,<1.0",
"click>=6.7,<9.0",
"cffi>=1.11,<2.0",
"xpybutil>=0.0.6,<1.0",
"marshmallow>=2.15,<4.0",
"pyyaml>=5.1",
"i3ipc>=2.1.1,<3.0",
]
[build-system]
requires = ["setuptools>=61", "wheel"]
build-backend = "setuptools.build_meta"
[project.optional-dependencies]
dev=[
"build>1.0,<2.0",
"bump2version>=1.0,<2.0",
"factory-boy>=3.0,<4.0",
"pre-commit>=3.4,<4.0",
"pytest>=7.4,<8.0",
"pytest-cov>=4.1,<5.0",
"pytest-factoryboy>=2.1,<3.0",
"pytest-lazy-fixture>=0.6,<1.0",
"pytest-mock>=3.7,<4.0",
"types-factory-boy",
"types-pytest-lazy-fixture",
"types-pyyaml",
]
[project.scripts]
flashfocus = "flashfocus.cli:cli"
flash_window = "flashfocus.client:client_request_flash"
[tool.setuptools]
# Note script-files is deprecated, long term we might not be able to include this
# script in the build
script-files = ["bin/nc_flash_window"]
packages.find.where = ["src"]
[tool.setuptools.dynamic]
version = {attr = "flashfocus.__version__"}
[tool.black]
line-length = 100
[tool.mypy]
python_version = "3.8"
files = ["flashfocus", "tests"]
check_untyped_defs = true
disallow_untyped_defs = true
no_implicit_optional = true
show_error_codes = true
warn_return_any = true
[tool.ruff]
line-length = 100
[tool.ruff.isort]
combine-as-imports = true
[[tool.mypy.overrides]]
module = [
"i3ipc",
"xpybutil",
"xpybutil.window",
"xpybutil.ewmh",
"xpybutil.icccm",
"xpybutil.util",
]
ignore_missing_imports = true