@@ -8,9 +8,8 @@ source = "vcs"
88[project ]
99name = " jsonschema-specifications"
1010description = " The JSON Schema meta-schemas and vocabularies, exposed as a Registry"
11+ requires-python = " >=3.9"
1112readme = " README.rst"
12- license = {text = " MIT" }
13- requires-python = " >=3.8"
1413keywords = [
1514 " validation" ,
1615 " data validation" ,
@@ -35,12 +34,12 @@ classifiers = [
3534 " Programming Language :: Python :: 3.13" ,
3635 " Programming Language :: Python :: Implementation :: CPython" ,
3736 " Programming Language :: Python :: Implementation :: PyPy" ,
37+ " Topic :: File Formats :: JSON" ,
3838 " Topic :: File Formats :: JSON :: JSON Schema" ,
3939]
4040dynamic = [" version" ]
4141dependencies = [
4242 " referencing>=0.31.0" ,
43- " importlib_resources>=1.4.0;python_version<'3.9'" ,
4443]
4544
4645[project .urls ]
@@ -75,13 +74,6 @@ ignore = [
7574 " D001" , # one sentence per line, so max length doesn't make sense
7675]
7776
78- [tool .isort ]
79- combine_as_imports = true
80- ensure_newline_before_comments = true
81- from_first = true
82- include_trailing_comma = true
83- multi_line_output = 3
84-
8577[tool .ruff ]
8678line-length = 79
8779
@@ -109,7 +101,7 @@ ignore = [
109101 " D406" , # Section headers should end with a colon not a newline
110102 " D407" , # Underlines aren't needed
111103 " D412" , # Plz spaces after section headers
112- " EM101" , # These don't bother me.
104+ " EM101" , # These don't bother me, it's fine there's some duplication .
113105 " EM102" ,
114106 " FBT" , # It's worth avoiding boolean args but I don't care to enforce it
115107 " FIX" , # Yes thanks, if I could it wouldn't be there
@@ -119,7 +111,9 @@ ignore = [
119111 " PLR0915" ,
120112 " PLW2901" , # Shadowing for loop variables is occasionally fine.
121113 " PT006" , # pytest parametrize takes strings as well
122- " RET503" , # Returning None implicitly is fine
114+ " PYI025" , # wat, I'm not confused, thanks.
115+ " RET502" , # Returning None implicitly is fine
116+ " RET503" ,
123117 " RET505" , # These push you to use `if` instead of `elif`, but for no reason
124118 " RET506" ,
125119 " RSE102" , # Ha, what, who even knew you could leave the parens off. But no.
0 commit comments