-
Notifications
You must be signed in to change notification settings - Fork 16
/
pyproject.toml
98 lines (85 loc) · 2.48 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
[build-system]
requires = [
"setuptools>=62.4.0",
"wheel",
"cffi>=1.12.0; platform_python_implementation != 'PyPy'",
]
build-backend = "setuptools.build_meta"
[project]
name = "pywayland"
description = "Python bindings for the libwayland library written in pure Python"
authors = [{name = "Sean Vig", email = "sean.v.775@gmail.com"}]
requires-python = ">=3.8"
license = {text = "Apache License 2.0"}
readme = "README.rst"
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"License :: OSI Approved :: Apache Software License",
"Operating System :: POSIX",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Desktop Environment :: Window Managers",
"Topic :: Software Development :: Libraries",
]
dependencies = [
"cffi >= 1.12.0; platform_python_implementation != 'PyPy'",
]
dynamic = ["version"]
[project.urls]
homepage = "https://github.com/flacjacket/pywayland"
documentation = "https://pywayland.readthedocs.io"
source = "https://github.com/flacjacket/pywayland"
issues = "https://github.com/flacjacket/pywayland/issues"
[project.optional-dependencies]
test = ["pytest"]
[project.scripts]
pywayland-scanner = "pywayland.scanner.__main__:main"
[tool.setuptools]
zip-safe = false
[tool.setuptools.packages.find]
include = ["pywayland*"]
[tool.setuptools.package-data]
pywayland = ["py.typed"]
[tool.setuptools.dynamic]
version = {attr = "pywayland.version.__version__"}
[tool.ruff]
# E/W pycodestyle errors + warnings
# F pyflakes
# I isort
# N pep8 naming
# UP pyupgrade
# RUF ruff specific rules
lint.select = ['E', 'F', 'I', 'W', 'UP', 'RUF']
lint.ignore = ["E501"]
line-length = 88
target-version = "py38"
[tool.black]
target-version = ["py38"]
[tool.check-manifest]
ignore = [
".coveragerc",
"doc/**",
"example/**",
"pywayland/protocol/*/*.py",
]
[tool.mypy]
python_version = 3.8
disallow_subclassing_any = true
no_implicit_optional = true
show_error_codes = true
strict_equality = true
warn_incomplete_stub = true
warn_redundant_casts = true
warn_return_any = true
warn_unreachable = true
warn_unused_configs = true
warn_unused_ignores = true
[[tool.mypy.overrides]]
module = ["cffi"]
ignore_missing_imports = true