File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ [build-system ]
2+ requires = [" setuptools" ]
3+ build-backend = " setuptools.build_meta"
4+
5+ [project ]
6+ name = " jschon-sort"
7+ version = " 0.2.0"
8+ classifiers = [" Programming Language :: Python :: 3" ]
9+ description = " Sorts a JSON or YAML document to match a JSON Schema's order of properties"
10+ readme = {file = " README.md" , content-type = " text/markdown" }
11+ requires-python = " >=3.8"
12+ dependencies = [" jschon>=0.9" , " ruyaml" ]
13+
14+ [project .scripts ]
15+ jschon-sort = " jschon_tools.cli:sort_main"
16+ jschon-remove-additional-props = " jschon_tools.cli:remove_additional_props_main"
17+
18+ [tool .setuptools .package-data ]
19+ "jschon_sort" = [" py.typed" ]
20+
121[tool .black ]
222line-length = 120
323skip-string-normalization = true
@@ -14,3 +34,18 @@ show_error_codes = true
1434implicit_reexport = false
1535warn_unreachable = true
1636disallow_incomplete_defs = true
37+ disallow_any_generics = true
38+ disallow_untyped_defs = true
39+ enable_error_code = " truthy-function"
40+ warn_unused_ignores = true
41+
42+ [tool .pytest .ini_options ]
43+ addopts = " --cov ."
44+
45+ [tool .coverage .run ]
46+ branch = true
47+
48+ [tool .coverage .report ]
49+ fail_under = 100
50+ show_missing = true
51+ omit = " setup.py"
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments