-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathpyproject.toml
64 lines (57 loc) · 1.54 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
[project]
name = 'ignis'
description = 'A modern widget system'
readme = 'README.md'
license = { file = 'LICENSE' }
authors = [{ name = 'linkfrg' }]
dynamic = ['version']
requires-python = ">=3.11"
dependencies = [
"click>=8.1.7",
"pycairo>=1.26.1",
"PyGObject>=3.48.2",
"requests>=2.32.3",
"loguru>=0.7.2",
]
[project.urls]
Homepage = "https://linkfrg.github.io/ignis"
Documentation = "https://linkfrg.github.io/ignis"
Repository = "https://github.com/linkfrg/ignis"
Issues = "https://github.com/linkfrg/ignis/issues"
[build-system]
build-backend = 'mesonpy'
requires = ['meson-python', 'setuptools']
[tool.mypy]
python_version = "3.10"
packages = ["ignis", "examples"]
exclude = ["venv"]
disable_error_code = [
"no-redef", # allow variable redefinition (needed for GObject.Property decorator)
"method-assign", # also needed for GObject.Property
]
mypy_path = ["stubs"]
check_untyped_defs = true
[[tool.mypy.overrides]]
module = ["gi.repository.*"]
disable_error_code = ["assignment"]
[tool.ruff]
include = ["ignis/**/*.py", "examples/**/*.py"]
[tool.ruff.lint]
select = [
"F", # pyflakes
"E", # pycodestyle errors
"W", # pycodestyle warnings
"I", # isort
"UP", # pyupgrade
"B", # flake8-bugbear
"C4", # flake8-comprehensions
]
ignore = [
"E501", # line too long, handled by black
"B008", # do not perform function calls in argument defaults
"C901", # too complex
"W191", # indentation contains tabs
"I001", # import block is un-sorted or un-formatted
]
fixable = ["ALL"]
unfixable = []