-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpyproject.toml
49 lines (38 loc) · 1.3 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
[tool.poetry]
name = "cute-sway-recorder"
version = "0.1.11"
description = "A small graphical screen recorder for wl-roots, leveraging wf-recorder and slurp"
authors = ["Maor Kadosh <[email protected]>"]
license = "GPL-3.0-or-later"
homepage = "https://github.com/it-is-wednesday/cute-sway-recorder"
repository = "https://github.com/it-is-wednesday/cute-sway-recorder"
readme = "README.md"
[tool.poetry.dependencies]
PySide6 = "6.*"
python = ">=3.8,<3.13" # PySide6 requirements
[tool.poetry.scripts]
cute-sway-recorder = "cute_sway_recorder.main:main"
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
[tool.ruff]
# Same as Black.
line-length = 88
indent-width = 4
# Assume Python 3.12
target-version = "py312"
[tool.ruff.lint]
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
# Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or
# McCabe complexity (`C901`) by default.
select = ["E4", "E7", "E9", "F"]
ignore = []
[tool.ruff.format]
# Like Black, use double quotes for strings.
quote-style = "double"
# Like Black, indent with spaces, rather than tabs.
indent-style = "space"
# Like Black, respect magic trailing commas.
skip-magic-trailing-comma = false
# Like Black, automatically detect the appropriate line ending.
line-ending = "auto"