@@ -15,35 +15,43 @@ dynamic = ["version"]
1515bscal = " bscal:cal"
1616bsdate = " bscal:bsdate"
1717
18- [project . optional-dependencies ]
18+ [dependency-groups ]
1919tests = [" pytest" , " hypothesis" ]
20-
21- [tool .setuptools ]
22- license-files = [" LICENSE" ]
20+ dev = [{ include-group = ' tests' }]
2321
2422[tool .setuptools_scm ]
2523
2624[tool .mypy ]
2725check_untyped_defs = true
28- files = [" bscal.py" ]
26+ files = [" bscal.py" , " tests " ]
2927strict = true
3028
3129[tool .ruff ]
32- ignore = [" ISC001" , " S101" ]
33- select = [
34- " F" , " E" , " W" , " C90" , " I" , " N" , " UP" , " YTT" , " ASYNC" , " S" , " BLE" , " B" , " A" , " C4" , " T10" ,
35- " EXE" , " ISC" , " ICN" , " G" , " INP" , " PIE" , " PYI" , " PT" , " Q" , " RSE" , " RET" ,
36- " SLOT" , " SIM" , " TID" , " TCH" , " ARG" , " PGH" , " PLC" , " PLE" , " PLR" , " PLW" , " TRY" ,
37- " FLY" , " PERF101" , " RUF" ,
38- ]
39- show-source = true
30+ output-format = " full"
4031show-fixes = true
4132
33+ [tool .ruff .lint ]
34+ ignore = [
35+ " ISC001" ,
36+ " S101" ,
37+ " PLC0415" ,
38+ " D1" ,
39+ " FA" ,
40+ " T201" ,
41+ " EM" ,
42+ " FBT" ,
43+ " ERA" ,
44+ " D2" ,
45+ " DTZ" ,
46+ " COM" ,
47+ ]
48+ select = [" ALL" ]
49+
4250[tool .ruff .format ]
4351preview = true
4452
45- [tool .ruff .flake8-type-checking ]
53+ [tool .ruff .lint . flake8-type-checking ]
4654strict = true
4755
48- [tool .ruff .flake8-unused-arguments ]
56+ [tool .ruff .lint . flake8-unused-arguments ]
4957ignore-variadic-names = true
0 commit comments