-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathpyproject.toml
More file actions
96 lines (83 loc) · 2.13 KB
/
pyproject.toml
File metadata and controls
96 lines (83 loc) · 2.13 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
[project]
name = "crc"
version = "7.1.0"
description = "Pure Python CRC library"
authors = [{ name = "Nicola Coretti", email = "nico.coretti@gmail.com" }]
requires-python = ">=3.8,<4.0"
readme = "README.md"
license = "BSD-2-Clause"
maintainers = [{ name = "Nicola Coretti", email = "nico.coretti@gmail.com" }]
keywords = [
"CRC",
"CRC8",
"CRC16",
"CRC32",
"CRC64",
]
classifiers = [
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"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",
]
[project.urls]
Repository = "https://github.com/Nicoretti/crc"
Homepage = "https://nicoretti.github.io/crc/"
Documentation = "https://nicoretti.github.io/crc/"
Source = "https://github.com/Nicoretti/crc"
Issues = "https://github.com/Nicoretti/crc/issues"
Changelog = "https://nicoretti.github.io/crc/changelog/unreleased/"
[project.scripts]
crc = "crc._crc:main"
[dependency-groups]
dev = [
"pytest>=7.2.0",
"pylint>=2.12.2",
"black>=22.1.0",
"isort>=5.10.1",
"coveralls>=3.3.1",
"mkdocs>=1.4.2",
"mkdocs-material>=9.0.6",
"mypy>=0.991",
"invoke>=2",
"mkdocs-autorefs>=0.4.1",
"mkdocstrings>=0.20.0",
"mkdocstrings-python>=0.8.2",
"pre-commit>=3.1.1,<4",
"mkdocs-gen-files>=0.5.0,<0.6",
"hatch>=1.14.1",
]
[tool.hatch.build.targets.sdist]
include = ["src/crc"]
[tool.hatch.build.targets.wheel]
include = ["src/crc"]
[tool.hatch.build.targets.wheel.sources]
"src/crc" = "crc"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.coverage.run]
source = [
"crc",
]
[tool.pylint.master]
fail-under = 9.0
[tool.pylint.format]
max-line-length = 88
max-module-lines = 800
[tool.black]
line-length = 88
verbose = true
include = "\\.pyi?$"
[tool.isort]
profile = "black"
force_grid_wrap = 2
skip = [".gitignore", "venv", ".venv", ".nox"]
[tool.mypy]
strict = true
show_column_numbers = true
show_error_context = true