From a21c991a9813a2b9a9105136f106448604926f75 Mon Sep 17 00:00:00 2001 From: Dorian Turba <froggit.commit.z3jqj@simplelogin.com> Date: Tue, 10 Oct 2023 18:03:11 +0200 Subject: [PATCH] fix all .toml --- tests/black_project/pyproject.toml | 4 ++-- tests/flake8_project/pyproject.toml | 4 ++-- tests/isort_project/pyproject.toml | 4 ++-- tests/mypy_project/pyproject.toml | 5 ++--- tests/pytest_project/pyproject.toml | 18 +++++++++--------- tests/python_install_project/pyproject.toml | 4 ++-- tests/ruff_project/pyproject.toml | 4 ++-- 7 files changed, 21 insertions(+), 22 deletions(-) diff --git a/tests/black_project/pyproject.toml b/tests/black_project/pyproject.toml index beec19a..0a7bca8 100644 --- a/tests/black_project/pyproject.toml +++ b/tests/black_project/pyproject.toml @@ -1,11 +1,11 @@ [build-system] -requires = ["hatchling"] build-backend = "hatchling.build" +requires = ["hatchling"] [project] name = "black_project" version = "0.1.0" authors = [ - { name = "Author Name", email = "author.name@example.com" }, + {email = "author.name@example.com", name = "Author Name"}, ] description = "A description of what the package is for." diff --git a/tests/flake8_project/pyproject.toml b/tests/flake8_project/pyproject.toml index eb3a841..9d04adf 100644 --- a/tests/flake8_project/pyproject.toml +++ b/tests/flake8_project/pyproject.toml @@ -1,11 +1,11 @@ [build-system] -requires = ["hatchling"] build-backend = "hatchling.build" +requires = ["hatchling"] [project] name = "flake8_project" version = "0.1.0" authors = [ - { name = "Author Name", email = "author.name@example.com" }, + {email = "author.name@example.com", name = "Author Name"}, ] description = "A description of what the package is for." diff --git a/tests/isort_project/pyproject.toml b/tests/isort_project/pyproject.toml index 241a663..655c80c 100644 --- a/tests/isort_project/pyproject.toml +++ b/tests/isort_project/pyproject.toml @@ -1,11 +1,11 @@ [build-system] -requires = ["hatchling"] build-backend = "hatchling.build" +requires = ["hatchling"] [project] name = "isort_project" version = "0.1.0" authors = [ - { name = "Author Name", email = "author.name@example.com" }, + {email = "author.name@example.com", name = "Author Name"}, ] description = "A description of what the package is for." diff --git a/tests/mypy_project/pyproject.toml b/tests/mypy_project/pyproject.toml index 51d87c0..e7b3002 100644 --- a/tests/mypy_project/pyproject.toml +++ b/tests/mypy_project/pyproject.toml @@ -1,19 +1,18 @@ [build-system] -requires = ["hatchling"] build-backend = "hatchling.build" +requires = ["hatchling"] [project] name = "mypy_project" version = "0.1.0" authors = [ - { name = "Author Name", email = "author.name@example.com" }, + {email = "author.name@example.com", name = "Author Name"}, ] description = "A description of what the package is for." dependencies = [ "mypy", ] - [tool.mypy] packages = "mypy_project" python_version = "3.11" diff --git a/tests/pytest_project/pyproject.toml b/tests/pytest_project/pyproject.toml index c27397b..1d81357 100644 --- a/tests/pytest_project/pyproject.toml +++ b/tests/pytest_project/pyproject.toml @@ -1,24 +1,24 @@ [build-system] -requires = ["hatchling"] build-backend = "hatchling.build" +requires = ["hatchling"] [project] name = "pytest_project" version = "0.1.0" authors = [ - { name = "Author Name", email = "author.name@example.com" }, + {email = "author.name@example.com", name = "Author Name"}, ] description = "A description of what the package is for." +[project.optional-dependencies] +TESTS = [ + "pytest", +] + [tool.pytest.ini_options] -minversion = "6.0" addopts = "-rA -q --strict-markers" +minversion = "6.0" testpaths = [ - "tests", "integration", -] - -[project.optional-dependencies] -TESTS = [ - "pytest", + "tests", ] diff --git a/tests/python_install_project/pyproject.toml b/tests/python_install_project/pyproject.toml index 5a1a5eb..9ccca7a 100644 --- a/tests/python_install_project/pyproject.toml +++ b/tests/python_install_project/pyproject.toml @@ -1,11 +1,11 @@ [build-system] -requires = ["hatchling"] build-backend = "hatchling.build" +requires = ["hatchling"] [project] name = "python_install_project" version = "0.1.0" authors = [ - { name = "Author Name", email = "author.name@example.com" }, + {email = "author.name@example.com", name = "Author Name"}, ] description = "A description of what the package is for." diff --git a/tests/ruff_project/pyproject.toml b/tests/ruff_project/pyproject.toml index cea87f6..3d671d9 100644 --- a/tests/ruff_project/pyproject.toml +++ b/tests/ruff_project/pyproject.toml @@ -1,11 +1,11 @@ [build-system] -requires = ["hatchling"] build-backend = "hatchling.build" +requires = ["hatchling"] [project] name = "ruff_project" version = "0.1.0" authors = [ - { name = "Author Name", email = "author.name@example.com" }, + {email = "author.name@example.com", name = "Author Name"}, ] description = "A description of what the package is for." -- GitLab