-
-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathpyproject.toml
More file actions
107 lines (95 loc) · 2.56 KB
/
pyproject.toml
File metadata and controls
107 lines (95 loc) · 2.56 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
96
97
98
99
100
101
102
103
104
105
106
107
# SPDX-FileCopyrightText: Copyright (c) 2022 Brendan Doherty
#
# SPDX-License-Identifier: MIT
[build-system]
requires = [
"setuptools>=77",
"wheel",
"setuptools-scm",
]
[project]
name = "circuitpython-nrf24l01"
requires-python = ">=3.9"
description = "CircuitPython driver library for the nRF24L01 transceiver"
readme = "README.rst"
authors = [
{name = "Brendan Doherty", email = "2bndy5@gmail.com"}
]
keywords = [
"blinka",
"circuitpython",
"nrf24l01",
"nrf24l01+",
"raspberrypi",
"driver",
"radio",
"transceiver",
]
license = "MIT"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries",
"Topic :: System :: Hardware",
"Programming Language :: Python :: 3",
]
dynamic = ["version"]
dependencies = [
"adafruit-blinka>=8.68.0",
"adafruit-circuitpython-busdevice>=5.2.14",
"spidev>=3.8 ; (platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'armv6l' and sys_platform == 'linux') or (platform_machine == 'armv7l' and sys_platform == 'linux')",
"typing-extensions>=4.15.0",
]
[project.urls]
Documentation = "https://circuitpython-nrf24l01.readthedocs.io"
Source = "https://github.com/2bndy5/CircuitPython_nRF24L01"
Tracker = "https://github.com/2bndy5/CircuitPython_nRF24L01/issues"
[tool.setuptools]
packages = ["circuitpython_nrf24l01"]
[tool.setuptools_scm]
# It would be nice to include the commit hash in the version, but that
# can't be done in a PEP 440-compatible way.
version_scheme= "no-guess-dev"
# Test PyPI does not support local versions.
local_scheme = "no-local-version"
fallback_version = "0.0.0"
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-vv"
testpaths = ["tests"]
log_level = "DEBUG"
log_format = "%(levelname)s\t%(name)s: %(message)s"
[tool.mypy]
show_error_codes = true
show_column_numbers = true
[tool.coverage]
[tool.coverage.run]
dynamic_context = "test_function"
[tool.coverage.json]
pretty_print = true
[tool.coverage.html]
show_contexts = true
[tool.coverage.report]
# Regexes for lines to exclude from consideration
exclude_lines = [
# Have to re-enable the standard pragma
"pragma: no cover",
"except ImportError",
"self._spi = SPIDevice",
"radio hardware not responding",
"elif not after_toggle",
]
[dependency-groups]
dev = [
"mypy>=1.18.2",
"pre-commit>=4.3.0",
"ruff>=0.14.6",
]
docs = [
"sphinx-immaterial[keys]>=0.12.5",
"sphinx-social-cards>=0.5.0",
]
tests = [
"coverage[toml]>=7.10.7",
"pytest>=8.4.2",
]