-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
74 lines (63 loc) · 1.79 KB
/
Copy pathpyproject.toml
File metadata and controls
74 lines (63 loc) · 1.79 KB
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
[project]
name = "ipc-sync"
dynamic = ["version"]
description = "Cross-platform utils for IPC (inter-processing communication) synchronization in Python"
readme = "README.md"
authors = [
{ name = "monchin", email = "pazzinter@126.com" }
]
requires-python = ">=3.8"
dependencies = [
"pywin32>=308 ; sys_platform == 'win32'",
]
license = {text = "MIT"}
keywords = ["IPC", "cross-platform"]
classifiers = [
"Topic :: Utilities",
"Programming Language :: Python :: 3",
"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",
"Programming Language :: Python :: 3.13",
]
[project.urls]
Homepage = "https://github.com/monchin/ipc-sync"
Repository = "https://github.com/monchin/ipc-sync"
[dependency-groups]
test = [
"pytest>=8.3.4",
]
lint = [
"types-pywin32>=308.0.0.20241221; sys_platform == \"win32\"",
"mypy>=1.14.1",
]
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.pdm]
version = { source = "file", path = "src/ipc_sync/__init__.py" }
[tool.pdm.scripts]
fmt = {composite=["ruff check --select I --fix .", "ruff format ."]}
test = "pytest tests"
[tool.ruff.lint]
# See list of rules at: https://docs.astral.sh/ruff/rules/
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
]
[tool.ruff]
line-length = 100
[tool.ruff.lint.pycodestyle]
max-doc-length = 100
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.ruff.lint.pyupgrade]
# Preserve types, even if a file imports `from __future__ import annotations`.
keep-runtime-typing = true