-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathpyproject.toml
More file actions
101 lines (91 loc) · 2.98 KB
/
pyproject.toml
File metadata and controls
101 lines (91 loc) · 2.98 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "bitmath"
dynamic = ["version"]
description = "Pythonic module for representing and manipulating file sizes with different prefix notations (file size unit conversion)"
readme = "README.rst"
requires-python = ">=3.9"
authors = [
{ name = "Tim Case", email = "bitmath@lnx.cx" },
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"Intended Audience :: Telecommunications Industry",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Communications :: File Sharing",
"Topic :: Internet",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Testing",
"Topic :: Software Development :: Testing :: Acceptance",
"Topic :: Software Development :: Testing :: Unit",
"Topic :: System :: Filesystems",
"Topic :: System :: Systems Administration",
"Topic :: Text Processing :: Filters",
"Topic :: Utilities",
]
[project.urls]
Homepage = "https://bitmath.readthedocs.io/en/latest/index.html"
"Bug Tracker" = "https://github.com/timlnx/bitmath/issues"
"Git Repo" = "https://github.com/timlnx/bitmath"
[project.scripts]
bitmath = "bitmath:cli_script"
[tool.hatch.build.targets.sdist]
include = [
"bitmath/",
"tests/",
"docsite/source/",
"README.rst",
"LICENSE",
"NEWS.rst",
"bitmath.1",
".coveragerc",
"requirements.txt",
]
exclude = [
# local-only dirs hatchling sees but git does not track
"bmintegrations/",
"bmintegrations311/",
".claude/",
"docs/",
".remember/",
"*.claude",
"CLAUDE.md",
]
[tool.hatch.build.targets.wheel]
packages = ["bitmath"]
[tool.hatch.version]
path = "VERSION"
pattern = '(?P<version>.+)'
[tool.hatch.publish.index]
disable = true
[tool.pylint.main]
py-version = "3.12"
[tool.pylint.basic]
# format_string / format_plural: public mutable module-level config (users assign these directly)
good-names = ["format_string", "format_plural"]
good-names-rgxs = [
"^to_[A-Za-z]+$", # unit conversion methods: to_KiB, to_kB, to_Mib, etc.
"^[a-z][A-Za-z]$", # two-char unit class names that start lowercase: kB, kb, ko
"^[A-Z][A-Z_]+$", # Windows API / ctypes names: DISK_GEOMETRY, IOCTL_DISK_GET_DRIVE_GEOMETRY_EX
]
[tool.pylint.design]
max-module-lines = 2000