@@ -7,7 +7,7 @@ name = "array-api"
77version = " 0.0.0"
88description = " Typing for array API and array-api-compat"
99readme = " README.md"
10- license = { text = " Apache Software License 2.0" }
10+ license = " MIT AND Apache- 2.0"
1111authors = [
1212 { name = " 34j" , email = " 34j.95a2p@simplelogin.com" },
1313]
@@ -26,6 +26,7 @@ classifiers = [
2626]
2727
2828dependencies = [
29+ " attrs>=25.3.0" ,
2930 " rich>=10" ,
3031 " typer>=0.15,<1" ,
3132]
@@ -37,8 +38,11 @@ scripts.array-api = "array_api.cli:app"
3738
3839[dependency-groups ]
3940dev = [
41+ " array-api-compat>=1.11.2" ,
42+ " array-api-strict>=2.3.1" ,
4043 " pytest>=8,<9" ,
4144 " pytest-cov>=6,<7" ,
45+ " ruff>=0.11.13" ,
4246]
4347docs = [
4448 " furo>=2023.5.20; python_version>='3.11'" ,
@@ -48,7 +52,7 @@ docs = [
4852]
4953
5054[tool .ruff ]
51- line-length = 88
55+ line-length = 320
5256lint.select = [
5357 " B" , # flake8-bugbear
5458 " D" , # flake8-docstrings
@@ -68,6 +72,9 @@ lint.ignore = [
6872 " D104" , # Missing docstring in public package
6973 " D107" , # Missing docstring in `__init__`
7074 " D401" , # First line of docstring should be in imperative mood
75+ " S603" ,
76+ " S607" ,
77+ " E501"
7178]
7279lint.per-file-ignores."conftest.py" = [ " D100" ]
7380lint.per-file-ignores."docs/conf.py" = [ " D100" ]
@@ -106,7 +113,7 @@ exclude_lines = [
106113
107114[tool .mypy ]
108115check_untyped_defs = true
109- disallow_any_generics = true
116+ disallow_any_generics = false
110117disallow_incomplete_defs = true
111118disallow_untyped_defs = true
112119mypy_path = " src/"
0 commit comments