-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
89 lines (77 loc) · 2.55 KB
/
pyproject.toml
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
[build-system]
requires = ["pip >= 22.2.2", "setuptools >= 65.4.1", "cython >= 0.29.0"]
build-backend = "setuptools.build_meta"
[project]
name = "ringbuf"
authors = [
{ name = "Elijah Shaw-Rutschman", email = "[email protected]" },
]
maintainers = [
{ name = "Elijah Shaw-Rutschman", email = "[email protected]" },
]
urls = { GitHub = "https://github.com/elijahr/ringbuf", PyPI = "https://pypi.org/ringbuf" }
license = { text = "MIT License" }
dynamic = ["version"]
description = "A lock-free ring buffer for Python and Cython"
readme = { file = "README.md", content-type = "text/markdown" }
requires-python = ">=3.6"
keywords = ["ring buffer", "ringbuffer", "ringbuf", "circular buffer", "lock free", "queue", "dsp", "cython"]
classifiers = [
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX :: Linux",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Cython",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: Implementation :: PyPy",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Multimedia :: Sound/Audio",
"License :: OSI Approved :: MIT License",
]
[project.optional-dependencies]
dev = [
"numpy >=1.0.0",
"pytest >=7.0.0",
]
[tool.setuptools]
zip-safe = false
include-package-data = true
packages = ["ringbuf"]
package-dir = { "" = "." }
license-files = ["LICENSE"]
[tool.setuptools.dynamic]
version = { attr = "ringbuf.__version__" }
[tool.setuptools.package-data]
ringbuf = ["*.pyx", "*.pxd"]
[tool.pytest.ini_options]
testpaths = ["test/test.py"]
# black-compatible configurations for various Python code formatters.
# Assembled from https://black.readthedocs.io/en/stable/compatible_configs.html
[tool.black]
line_length = 120
target_version = ["py36", "py37", "py38", "py39", "py310"]
experimental_string_processing = true
required_version = "22.3.0"
[tool.autopep8]
exclude = ".git,__pycache__"
max-line-length = 120
ignore = "E203,E501,W6"
[tool.isort]
profile = "black"
py_version = "all"
known_first_party = "ringbuf"
# line_length is intentionally small, to ensure each imported object gets its
# own line.
line_length = 10
multi_line_output = 3
include_trailing_comma = true
[tool.pylint.messages_control]
disable = """missing-module-docstring,
missing-class-docstring,
too-few-public-methods,
missing-function-docstring,
import-error,
invalid-name,
too-many-branches,
too-many-arguments,"""
[tool.pylint.format]
max-line-length = "120"