@@ -10,15 +10,15 @@ name = "sphinx_json_schema_spec"
10
10
description = " Sphinx support for the JSON Schema specifications"
11
11
requires-python = " >=3.11"
12
12
readme = " README.rst"
13
- license = {text = " MIT" }
13
+ license = " MIT"
14
+ license-files = [" COPYING" ]
14
15
keywords = [" json schema" , " jsonschema" , " data validation" , " sphinx" , " json" ]
15
16
authors = [
16
17
{
name =
" Julian Berman" ,
email =
" [email protected] " },
17
18
]
18
19
classifiers = [
19
20
" Development Status :: 4 - Beta" ,
20
21
" Intended Audience :: Developers" ,
21
- " License :: OSI Approved :: MIT License" ,
22
22
" Operating System :: OS Independent" ,
23
23
" Programming Language :: Python" ,
24
24
" Programming Language :: Python :: 3.11" ,
@@ -45,28 +45,20 @@ Source = "https://github.com/python-jsonschema/sphinx-json-schema-spec"
45
45
46
46
[tool .doc8 ]
47
47
ignore = [
48
- " D000" , # see PyCQA/doc8#125
49
- " D001" , # one sentence per line, so max length doesn't make sense
48
+ " D000" , # see PyCQA/doc8#125
49
+ " D001" , # one sentence per line, so max length doesn't make sense
50
50
]
51
51
52
- [tool .isort ]
53
- combine_as_imports = true
54
- ensure_newline_before_comments = true
55
- from_first = true
56
- include_trailing_comma = true
57
- multi_line_output = 3
58
- use_parentheses = true
59
-
60
52
[tool .ruff ]
61
53
line-length = 79
62
- extend-exclude = [" suite" ]
63
54
64
55
[tool .ruff .lint ]
65
56
select = [" ALL" ]
66
57
ignore = [
67
58
" A001" , # It's fine to shadow builtins
68
59
" A002" ,
69
60
" A003" ,
61
+ " A005" ,
70
62
" ARG" , # This is all wrong whenever an interface is involved
71
63
" ANN" , # Just let the type checker do this
72
64
" B006" , # Mutable arguments require care but are OK if you don't abuse them
@@ -89,7 +81,6 @@ ignore = [
89
81
" EM102" ,
90
82
" FBT" , # It's worth avoiding boolean args but I don't care to enforce it
91
83
" FIX" , # Yes thanks, if I could it wouldn't be there
92
- " I001" , # We can't yet use ruff's isort
93
84
" N" , # These naming rules are silly
94
85
" PLR0912" , # These metrics are fine to be aware of but not to enforce
95
86
" PLR0913" ,
0 commit comments