-
Notifications
You must be signed in to change notification settings - Fork 82
Expand file tree
/
Copy pathpyproject.toml
More file actions
126 lines (110 loc) · 2.9 KB
/
Copy pathpyproject.toml
File metadata and controls
126 lines (110 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
[project]
name = "clevercsv"
authors = [
{name = "Gertjan van den Burg", email = "gertjanvandenburg@gmail.com"},
]
description = "A Python package for handling messy CSV files"
readme = "README.md"
requires-python = ">=3.9.0"
keywords = ["csv"]
license = {text = "MIT"}
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"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",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"License :: OSI Approved :: MIT License",
]
dependencies = [
"chardet>=3.0",
"regex>=2018.11",
"packaging>=23.0",
]
dynamic = ["version"]
[project.optional-dependencies]
full = [
"faust-cchardet>=2.1.18",
"pandas>=1.0.0",
"tabview>=1.4",
"wilderness>=0.1.5",
]
docs = [
"sphinx",
"m2r2",
"furo",
]
test = [
"clevercsv[full]",
"pytest>=2.6",
]
dev = [
"clevercsv[docs]",
"clevercsv[test]",
"pytest>=2.6",
"termcolor",
"mypy",
"setuptools",
"build",
]
precommit = [
"wilderness>=0.1.5",
]
[project.scripts]
clevercsv = "clevercsv.__main__:main"
[project.urls]
homepage = "https://github.com/alan-turing-institute/CleverCSV/"
documentation = "https://clevercsv.readthedocs.io/en/latest/"
changelog = "https://github.com/alan-turing-institute/CleverCSV/blob/master/CHANGELOG.md"
[build-system]
requires = ["setuptools>=74.1.0"]
build-backend = "setuptools.build_meta"
[tool.black]
line-length=79
[tool.isort]
profile="black"
sections=["FUTURE", "STDLIB", "TYPING", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]
known_typing=["typing"]
force_single_line=true
lines_between_types=1
[tool.ruff]
# Exclude stubs directory for now
exclude = ["stubs"]
[tool.mypy]
python_version = 3.10
warn_unused_configs = true
warn_redundant_casts = true
warn_unused_ignores = true
strict_equality = true
strict_concatenate = true
check_untyped_defs = true
disallow_subclassing_any = true
disallow_untyped_decorators = true
disallow_any_generics = true
disallow_untyped_calls = true
disallow_incomplete_defs = true
disallow_untyped_defs = false
[[tool.mypy.overrides]]
packages = ["stubs", "clevercsv"]
disallow_incomplete_defs = true
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
exclude = ["tests*", "*.tests*"]
[tool.setuptools.package-data]
clevercsv = ["py.typed"]
[tool.setuptools.data-files]
"man/man1" = ["man/*.1"]
[[tool.setuptools.ext-modules]]
name = "clevercsv.cparser"
sources = ["src/cparser.c"]
[[tool.setuptools.ext-modules]]
name = "clevercsv.cabstraction"
sources = ["src/abstraction.c"]
[tool.setuptools.dynamic]
version = {attr = "clevercsv.__version__.__version__"}