-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
131 lines (114 loc) · 2.9 KB
/
Copy pathpyproject.toml
File metadata and controls
131 lines (114 loc) · 2.9 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
[project]
name = "bitvector-modern"
version = "0.0.7"
description = "A memory-efficient packed representation for bit arrays in pure Python"
readme = { file = "README.md", content-type = "text/markdown" }
authors = [
{ name = "Avinash Kak", email = "kak@purdue.edu" },
]
maintainers = [
{ name = "Avinash Kak", email = "kak@purdue.edu" },
]
requires-python = ">=3.13"
keywords = ["bit array", "bit vector", "bit string", "logical operations on bit fields"]
license = { file = "LICENSE" }
classifiers = [
"Topic :: Utilities",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
dependencies = []
[project.urls]
Homepage = "https://github.com/schwehr/bitvector-modern"
Repository = "https://github.com/schwehr/bitvector-modern"
Issues = "https://github.com/schwehr/bitvector-modern/issues"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["BitVector"]
[[tool.uv.index]]
name = "pypi"
url = "https://pypi.org/simple"
default = true
[dependency-groups]
dev = [
"codespell>=2.4.0",
"conventional-pre-commit>=4.4.0",
"hypothesis>=6.0.0",
"hypofuzz>=24.0.0",
"mdformat>=0.7.21",
"mdformat-gfm>=0.3.7",
"mkdocs>=1.6.1",
"mkdocs-material>=9.7.6",
"mkdocstrings[python]>=1.0.6",
"mypy>=1.15.0",
"pre-commit>=4.6.0",
"pylint>=4.0.6",
"pyrefly>=1.1.1",
"pyright>=1.1.411",
"pytest>=8.0.0",
"pytest-benchmark>=4.0.0",
"pytest-cov>=7.1.0",
"pytest-mock>=3.15.1",
"ruff>=0.15.20",
"semgrep>=1.170.0",
"ty>=0.0.56",
"zizmor>=1.26.1",
"pylint-pytest>=1.1.8",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-p no:doctest --cov=BitVector --cov-report=term-missing --cov-report=xml"
pythonpath = ["."]
[tool.ruff]
line-length = 88
target-version = "py313"
[tool.ruff.lint]
select = ["E", "F", "I", "W"]
ignore = ["E501"]
[tool.coverage.run]
source = ["BitVector"]
branch = true
[tool.coverage.report]
show_missing = true
fail_under = 95
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if __name__ == .__main__.:",
"raise NotImplementedError",
"\\.\\.\\.",
]
[tool.codespell]
ignore-words-list = "astroid,bu,mis,whet,wit"
[tool.pyrefly]
project-includes = [
"**/*.py*",
"**/*.ipynb",
]
[tool.pyright]
include = ["BitVector"]
[tool.pylint.main]
load-plugins = ["pylint_pytest"]
py-version = "3.13"
[tool.pylint.format]
max-line-length = 88
[tool.pylint.messages_control]
disable = [
"fixme",
"inconsistent-return-statements",
"invalid-name",
"line-too-long",
"missing-function-docstring",
"protected-access",
"too-many-arguments",
"too-many-branches",
"too-many-function-args",
"too-many-lines",
"too-many-positional-arguments",
"too-many-public-methods",
"too-many-return-statements",
"too-many-statements",
]