@@ -5,6 +5,9 @@ requires = [
5
5
" hatch-vcs"
6
6
]
7
7
8
+ [lint .mccabe ]
9
+ max-complexity = 100
10
+
8
11
[project ]
9
12
authors = [
10
13
{name = " Jim Pivarski" , email = " pivarski@princeton.edu" }
@@ -35,7 +38,7 @@ classifiers = [
35
38
]
36
39
dependencies = [
37
40
" awkward>=2.4.6" ,
38
- " importlib-metadata;python_version< \" 3.8 \" " ,
41
+ " cramjam>=2.5.0 " ,
39
42
" numpy" ,
40
43
" fsspec" ,
41
44
" packaging" ,
@@ -59,10 +62,12 @@ dev = [
59
62
" pandas" ,
60
63
" awkward-pandas"
61
64
]
65
+ http = [" aiohttp" ]
66
+ s3 = [" s3fs" ]
62
67
test = [
63
- " lz4" ,
68
+ " isal" ,
69
+ " deflate" ,
64
70
" xxhash" ,
65
- " zstandard" ,
66
71
" minio" ,
67
72
" aiohttp" ,
68
73
" fsspec-xrootd" ,
@@ -75,6 +80,7 @@ test = [
75
80
" scikit-hep-testdata" ,
76
81
" rangehttpserver"
77
82
]
83
+ xrootd = [" fsspec-xrootd" ]
78
84
79
85
[project .urls ]
80
86
Download = " https://github.com/scikit-hep/uproot5/releases"
@@ -114,6 +120,9 @@ exclude = [
114
120
" src/uproot/__init__.py" ,
115
121
" docs-sphinx/*.py"
116
122
]
123
+ src = [" src" ]
124
+
125
+ [tool .ruff .lint ]
117
126
ignore = [
118
127
" E501" ,
119
128
" E722" ,
@@ -122,7 +131,7 @@ ignore = [
122
131
" SIM118" , # key in dict, broken since uproot doesn't behave like a dict
123
132
" PGH003" , # too-broad type ignore
124
133
" SIM114" , # combine `if` branches using logical `or` operator
125
- " PGH001 " , # no eval allowed
134
+ " S307 " , # no eval allowed
126
135
" PLC1901" , # empty string is falsey (but I don't want to rely on such weak typing)
127
136
" RUF012" # enforces type annotations on a codebase that lacks type annotations
128
137
]
@@ -146,16 +155,10 @@ select = [
146
155
" UP" , # pyupgrade
147
156
" YTT" # flake8-2020
148
157
]
149
- src = [" src" ]
150
-
151
- [tool .ruff .lint ]
152
158
isort.required-imports = [" from __future__ import annotations" ]
153
159
154
- [tool .ruff .mccabe ]
155
- max-complexity = 100
156
-
157
- [tool .ruff .per-file-ignores ]
158
- "dev/*" = [" T20" ]
160
+ [tool .ruff .lint .per-file-ignores ]
161
+ "dev/*" = [" T20" , " T201" ]
159
162
"src/uproot/*/file.py" = [" SIM115" ]
160
163
161
164
[tool .setuptools_scm ]
0 commit comments