diff --git a/pyproject.toml b/pyproject.toml index 1c6bc45..7073504 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,14 +10,13 @@ readme = "README.rst" keywords = [ "attrs", "documentation", "serde", "sphinx",] dynamic = [ "requires-python", "classifiers", "dependencies",] +[project.license] +file = "LICENSE" + [[project.authors]] name = "Dominic Davis-Foster" email = "dominic@davis-foster.co.uk" - -[project.license] -file = "LICENSE" - [project.urls] Homepage = "https://github.com/domdfcoding/attr_utils" "Issue Tracker" = "https://github.com/domdfcoding/attr_utils/issues" @@ -117,6 +116,9 @@ autodoc_exclude_members = [ [tool.dep_checker] allowed_unused = [ "toolz",] +[tool.dep_checker.name_mapping] +attrs = "attr" + [tool.whey] base-classifiers = [ "Intended Audience :: Developers", @@ -141,8 +143,15 @@ incremental = false [tool.snippet-fmt] directives = [ "code-block",] -[tool.dep_checker.name_mapping] -attrs = "attr" +[tool.snippet-fmt.languages.python] +reformat = true + +[tool.snippet-fmt.languages.TOML] +reformat = true + +[tool.snippet-fmt.languages.ini] + +[tool.snippet-fmt.languages.json] [tool.dependency-dash."requirements.txt"] order = 10 @@ -154,13 +163,3 @@ include = false [tool.dependency-dash."doc-source/requirements.txt"] order = 30 include = false - -[tool.snippet-fmt.languages.python] -reformat = true - -[tool.snippet-fmt.languages.TOML] -reformat = true - -[tool.snippet-fmt.languages.ini] - -[tool.snippet-fmt.languages.json]