diff --git a/.copier-answers.yaml b/.copier-answers.yaml index a840734..e940934 100644 --- a/.copier-answers.yaml +++ b/.copier-answers.yaml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier -_commit: b74d698 +_commit: 37f89c1 _src_path: https://github.com/python-project-templates/base.git add_docs: true add_extension: python diff --git a/pyproject.toml b/pyproject.toml index beaf9a7..d7dd08b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,10 +1,14 @@ [build-system] -requires = ["hatchling"] +requires = [ + "hatchling", +] build-backend="hatchling.build" [project] name = "hatch-multi" -authors = [{name = "the hatch-multi authors", email = "t.paine154@gmail.com"}] +authors = [ + {name = "the hatch-multi authors", email = "t.paine154@gmail.com"}, +] description = "Create multiple discrete packages from optional-dependencies (extras)" readme = "README.md" license = { text = "Apache-2.0" } @@ -46,6 +50,7 @@ develop = [ "pytest-cov", "ruff>=0.9,<0.15", "twine", + "ty", "uv", "wheel", ] @@ -99,31 +104,51 @@ artifacts = [] src = "/" [tool.hatch.build.targets.sdist] -packages = ["hatch_multi"] +packages = [ + "hatch_multi", +] [tool.hatch.build.targets.wheel] -packages = ["hatch_multi"] +packages = [ + "hatch_multi", +] [tool.hatch.build.targets.wheel.shared-data] [tool.pytest.ini_options] -addopts = ["-vvv", "--junitxml=junit.xml"] +addopts = [ + "-vvv", + "--junitxml=junit.xml", +] testpaths = "hatch_multi/tests" [tool.ruff] line-length = 150 [tool.ruff.lint] -extend-select = ["I"] +extend-select = [ + "I", +] [tool.ruff.lint.isort] combine-as-imports = true default-section = "third-party" -known-first-party = ["hatch_multi"] -section-order = ["future", "standard-library", "third-party", "first-party", "local-folder"] +known-first-party = [ + "hatch_multi", +] +section-order = [ + "future", + "standard-library", + "third-party", + "first-party", + "local-folder", +] [tool.ruff.lint.per-file-ignores] -"__init__.py" = ["F401", "F403"] +"__init__.py" = [ + "F401", + "F403", +] [tool.yardang] title = "hatch multi"