@@ -7,11 +7,11 @@ source = "vcs"
7
7
8
8
[project ]
9
9
name = " jsonschema-specifications"
10
- license = " MIT"
11
- license-files = [" COPYING" ]
12
10
description = " The JSON Schema meta-schemas and vocabularies, exposed as a Registry"
13
11
requires-python = " >=3.9"
14
12
readme = " README.rst"
13
+ license = " MIT"
14
+ license-files = [" COPYING" ]
15
15
keywords = [
16
16
" validation" ,
17
17
" data validation" ,
@@ -70,8 +70,8 @@ skip_covered = true
70
70
71
71
[tool .doc8 ]
72
72
ignore = [
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
75
75
]
76
76
77
77
[tool .ruff ]
@@ -83,6 +83,7 @@ ignore = [
83
83
" A001" , # It's fine to shadow builtins
84
84
" A002" ,
85
85
" A003" ,
86
+ " A005" ,
86
87
" ARG" , # This is all wrong whenever an interface is involved
87
88
" ANN" , # Just let the type checker do this
88
89
" B006" , # Mutable arguments require care but are OK if you don't abuse them
@@ -106,7 +107,9 @@ ignore = [
106
107
" FBT" , # It's worth avoiding boolean args but I don't care to enforce it
107
108
" FIX" , # Yes thanks, if I could it wouldn't be there
108
109
" 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" ,
110
113
" PLR0913" ,
111
114
" PLR0915" ,
112
115
" PLW2901" , # Shadowing for loop variables is occasionally fine.
@@ -136,4 +139,4 @@ from-first = true
136
139
[tool .ruff .lint .per-file-ignores ]
137
140
"noxfile.py" = [" ANN" , " D100" , " S101" , " T201" ]
138
141
"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