-
Notifications
You must be signed in to change notification settings - Fork 57
Expand file tree
/
Copy pathpyproject.toml
More file actions
95 lines (84 loc) · 2.12 KB
/
pyproject.toml
File metadata and controls
95 lines (84 loc) · 2.12 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
88
89
90
91
92
93
94
95
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "device_detector"
version = "6.2.0"
description="Python3 port of matomo's Device Detector"
readme = "README.md"
license = {file = "device_detector/LICENSE.md"}
keywords = [
"user agent",
"app detection",
"device detection",
"client hints",
]
dependencies = [
"ahocorasick-rs",
"regex",
"yaml-rs",
"backports.strenum; python_version <= '3.10'",
"typing_extensions; python_version <= '3.10'",
]
requires-python = ">=3.10"
authors = [
{name = "Dave Burkholder", email = "dave@thinkwelldesigns.com"}
]
maintainers = [
{name = "Dave Burkholder", email = "dave@thinkwelldesigns.com"}
]
classifiers = [
"Environment :: Web Environment",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: Implementation :: CPython",
]
[project.urls]
Homepage = "https://github.com/thinkwelltwd/"
Repository = "https://github.com/thinkwelltwd/device_detector.git"
[tool.mypy]
strict = true
check_untyped_defs = true
ignore_missing_imports = true
warn_unused_ignores = true
warn_redundant_casts = true
warn_unused_configs = true
disallow_incomplete_defs = true
show_error_context = true
follow_imports = 'silent'
disable_error_code = [
"no-any-return",
"comparison-overlap",
]
exclude = [
"tests/",
]
[tool.bandit]
exclude_dirs = [
"*/tests/*",
]
skips = [
"B110",
"B112",
]
[tool.ruff]
line-length = 100
preview = true
exclude = [
"*/tests/*",
]
[tool.ruff.format]
quote-style = "preserve"
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["E402", "F401", "F403"]
[tool.ruff.lint.flake8-quotes]
multiline-quotes = "single"