@@ -7,11 +7,11 @@ source = "vcs"
77
88[project ]
99name = " jsonschema-specifications"
10- license = " MIT"
11- license-files = [" COPYING" ]
1210description = " The JSON Schema meta-schemas and vocabularies, exposed as a Registry"
1311requires-python = " >=3.9"
1412readme = " README.rst"
13+ license = " MIT"
14+ license-files = [" COPYING" ]
1515keywords = [
1616 " validation" ,
1717 " data validation" ,
@@ -70,8 +70,8 @@ skip_covered = true
7070
7171[tool .doc8 ]
7272ignore = [
73- " D000" , # see PyCQA/doc8#125
74- " D001" , # one sentence per line, so max length doesn't make sense
73+ " D000" , # see PyCQA/doc8#125
74+ " D001" , # one sentence per line, so max length doesn't make sense
7575]
7676
7777[tool .ruff ]
@@ -83,6 +83,7 @@ ignore = [
8383 " A001" , # It's fine to shadow builtins
8484 " A002" ,
8585 " A003" ,
86+ " A005" ,
8687 " ARG" , # This is all wrong whenever an interface is involved
8788 " ANN" , # Just let the type checker do this
8889 " B006" , # Mutable arguments require care but are OK if you don't abuse them
@@ -106,7 +107,9 @@ ignore = [
106107 " FBT" , # It's worth avoiding boolean args but I don't care to enforce it
107108 " FIX" , # Yes thanks, if I could it wouldn't be there
108109 " N" , # These naming rules are silly
109- " PLR0912" , # These metrics are fine to be aware of but not to enforce
110+ " PLC0415" , # too noisy, there are too many cases this is fine
111+ " PLR0911" , # These metrics are fine to be aware of but not to enforce
112+ " PLR0912" ,
110113 " PLR0913" ,
111114 " PLR0915" ,
112115 " PLW2901" , # Shadowing for loop variables is occasionally fine.
@@ -136,4 +139,4 @@ from-first = true
136139[tool .ruff .lint .per-file-ignores ]
137140"noxfile.py" = [" ANN" , " D100" , " S101" , " T201" ]
138141"docs/*" = [" ANN" , " D" , " INP001" ]
139- "jsonschema_specifications/tests/*" = [" ANN" , " D" , " RUF012" , " S" ]
142+ "jsonschema_specifications/tests/*" = [" ANN" , " D" , " RUF012" , " S" , " PLR " , " TRY " ]
0 commit comments