@@ -10,15 +10,15 @@ name = "sphinx_json_schema_spec"
1010description = " Sphinx support for the JSON Schema specifications"
1111requires-python = " >=3.11"
1212readme = " README.rst"
13- license = {text = " MIT" }
13+ license = " MIT"
14+ license-files = [" COPYING" ]
1415keywords = [" json schema" , " jsonschema" , " data validation" , " sphinx" , " json" ]
1516authors = [
1617 { name = " Julian Berman" , email = " Julian+sphinx-json-schema-spec@GrayVines.com" },
1718]
1819classifiers = [
1920 " Development Status :: 4 - Beta" ,
2021 " Intended Audience :: Developers" ,
21- " License :: OSI Approved :: MIT License" ,
2222 " Operating System :: OS Independent" ,
2323 " Programming Language :: Python" ,
2424 " Programming Language :: Python :: 3.11" ,
@@ -45,28 +45,20 @@ Source = "https://github.com/python-jsonschema/sphinx-json-schema-spec"
4545
4646[tool .doc8 ]
4747ignore = [
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
5050]
5151
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-
6052[tool .ruff ]
6153line-length = 79
62- extend-exclude = [" suite" ]
6354
6455[tool .ruff .lint ]
6556select = [" ALL" ]
6657ignore = [
6758 " A001" , # It's fine to shadow builtins
6859 " A002" ,
6960 " A003" ,
61+ " A005" ,
7062 " ARG" , # This is all wrong whenever an interface is involved
7163 " ANN" , # Just let the type checker do this
7264 " B006" , # Mutable arguments require care but are OK if you don't abuse them
@@ -89,7 +81,6 @@ ignore = [
8981 " EM102" ,
9082 " FBT" , # It's worth avoiding boolean args but I don't care to enforce it
9183 " FIX" , # Yes thanks, if I could it wouldn't be there
92- " I001" , # We can't yet use ruff's isort
9384 " N" , # These naming rules are silly
9485 " PLR0912" , # These metrics are fine to be aware of but not to enforce
9586 " PLR0913" ,
0 commit comments