-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
87 lines (76 loc) · 2.55 KB
/
Copy pathpyproject.toml
File metadata and controls
87 lines (76 loc) · 2.55 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
84
85
86
87
[project]
name = "pylocalauth"
dynamic = ["version"]
description = "Cross-platform local authentication library for Python applications."
authors = [{ name = "Kaan Gönüldinc", email = "contact@appsolves.dev" }]
license = "Apache-2.0"
license-files = ["LICENSE"]
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"winrt-Windows.Security.Credentials.UI; sys_platform=='win32'",
"winrt-Windows.Foundation; sys_platform=='win32'",
"pyobjc; sys_platform=='darwin'",
"pyobjc-framework-LocalAuthentication; sys_platform=='darwin'",
"python-pam; sys_platform=='linux'",
"six; sys_platform=='linux'",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Framework :: Hatch",
"Framework :: Pytest",
"Framework :: AsyncIO",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: System :: Systems Administration :: Authentication/Directory",
]
[project.urls]
Homepage = "https://appsolves.dev"
Repository = "https://github.com/AppSolves/pylocalauth"
"Bug Reports" = "https://github.com/AppSolves/pylocalauth/issues"
Documentation = "https://github.com/AppSolves/pylocalauth/blob/main/README.md"
[build-system]
requires = ["hatchling", "hatch-regex-commit", "click<8.4.0"]
build-backend = "hatchling.build"
[tool.mypy]
plugins = []
ignore_missing_imports = true
check_untyped_defs = true
[tool.pytest.ini_options]
addopts = "--ignore=test_build.py --strict-markers"
filterwarnings = ["ignore::DeprecationWarning"]
asyncio_mode = "strict"
asyncio_default_fixture_loop_scope = "function"
[tool.ruff]
line-length = 88
[tool.ruff.lint]
extend-select = ["I", "UP"]
[tool.hatch]
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.version]
source = "regex_commit"
commit_extra_args = ["-e"]
path = "pylocalauth/__init__.py"
[tool.hatch.envs.default]
installer = "uv"
dependencies = [
"pytest",
"pytest-asyncio",
"pytest-lazy-fixture",
"pytest-cov",
"mypy",
"black",
"ruff",
]
[tool.hatch.envs.default.scripts]
test = "pytest --cov=pylocalauth/ --cov-report=term-missing --cov-fail-under=100"
test-cov-xml = "pytest --cov=pylocalauth/ --cov-report=xml --cov-fail-under=100"
lint = ["ruff format .", "ruff check --fix .", "mypy pylocalauth/"]
lint-check = ["ruff format --check .", "ruff check .", "mypy pylocalauth/"]
[tool.hatch.build.targets.sdist]
support-legacy = true