-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
83 lines (78 loc) · 1.99 KB
/
pyproject.toml
File metadata and controls
83 lines (78 loc) · 1.99 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
75
76
77
78
79
80
81
82
83
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "libloader"
version = "1.4.3"
authors = [
{name = "Christopher Toth", email = "q@q-continuum.net"},
]
description = "Quickly and easily load shared libraries on various platforms. Also includes a libloader.com module for loading com modules on Windows."
readme = "README.md"
license = {file = "LICENSE"}
requires-python = ">=3.8"
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"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",
"License :: OSI Approved :: MIT License",
"Topic :: Software Development :: Libraries",
"Operating System :: OS Independent",
]
dependencies = [
"pywin32; sys_platform == 'win32'",
]
[dependency-groups]
dev = [
"ruff>=0.8.0",
"pyright>=1.1.0",
"types-pywin32<310.0.0",
]
[tool.ruff]
line-length = 100
target-version = "py38"
exclude = [
".git",
"__pycache__",
"build",
"dist",
"*.egg-info",
]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"UP", # pyupgrade
"B", # flake8-bugbear
]
ignore = [
"F403", # Allow wildcard imports in __init__.py for public API
]
[tool.pyright]
pythonVersion = "3.8"
typeCheckingMode = "basic"
reportUnusedImport = "warning"
reportUnusedVariable = "warning"
reportDuplicateImport = "error"
reportMissingTypeStubs = false
reportMissingImports = "error"
reportUnknownMemberType = false
reportUnknownArgumentType = false
reportUnknownVariableType = false
reportPrivateUsage = "warning"
reportConstantRedefinition = "error"
exclude = [
"**/__pycache__",
"**/.git",
"**/build",
"**/dist",
".venv",
]