@@ -5,6 +5,9 @@ requires = [
55  " hatch-vcs" 
66]
77
8+ [lint .mccabe ]
9+ max-complexity  = 100 
10+ 
811[project ]
912authors  = [
1013  {
name  = 
" Jim Pivarski" , 
email  = 
" [email protected] " }
@@ -35,7 +38,7 @@ classifiers = [
3538]
3639dependencies  = [
3740  " awkward>=2.4.6" 
38-   " importlib-metadata;python_version< \" 3.8 \" " 
41+   " cramjam>=2.5.0 " 
3942  " numpy" 
4043  " fsspec" 
4144  " packaging" 
@@ -59,10 +62,12 @@ dev = [
5962  " pandas" 
6063  " awkward-pandas" 
6164]
65+ http  = [" aiohttp" 
66+ s3  = [" s3fs" 
6267test  = [
63-   " lz4" 
68+   " isal" 
69+   " deflate" 
6470  " xxhash" 
65-   " zstandard" 
6671  " minio" 
6772  " aiohttp" 
6873  " fsspec-xrootd" 
@@ -75,6 +80,7 @@ test = [
7580  " scikit-hep-testdata" 
7681  " rangehttpserver" 
7782]
83+ xrootd  = [" fsspec-xrootd" 
7884
7985[project .urls ]
8086Download  = " https://github.com/scikit-hep/uproot5/releases" 
@@ -114,6 +120,9 @@ exclude = [
114120  " src/uproot/__init__.py" 
115121  " docs-sphinx/*.py" 
116122]
123+ src  = [" src" 
124+ 
125+ [tool .ruff .lint ]
117126ignore  = [
118127  " E501" 
119128  " E722" 
@@ -122,7 +131,7 @@ ignore = [
122131  " SIM118" #  key in dict, broken since uproot doesn't behave like a dict
123132  " PGH003" #  too-broad type ignore
124133  " SIM114" #  combine `if` branches using logical `or` operator
125-   " PGH001 " #  no eval allowed
134+   " S307 " #  no eval allowed
126135  " PLC1901" #  empty string is falsey (but I don't want to rely on such weak typing)
127136  " RUF012" #  enforces type annotations on a codebase that lacks type annotations
128137]
@@ -146,16 +155,10 @@ select = [
146155  " UP" #  pyupgrade
147156  " YTT" #  flake8-2020
148157]
149- src  = [" src" 
150- 
151- [tool .ruff .lint ]
152158isort.required-imports  = [" from __future__ import annotations" 
153159
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" 
159162"src/uproot/*/file.py"  = [" SIM115" 
160163
161164[tool .setuptools_scm ]
0 commit comments