From 188d1fbf6ca224ce77350f50219760beb2949c59 Mon Sep 17 00:00:00 2001 From: Florian Apolloner Date: Fri, 6 Jan 2023 18:53:07 +0100 Subject: [PATCH] Moved most configuration over to pyproject.toml. --- pyproject.toml | 8 ++++++++ setup.cfg | 20 -------------------- 2 files changed, 8 insertions(+), 20 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 62d4c0b..9c14ecc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -48,6 +48,14 @@ zip-safe = false [tool.distutils.bdist_wheel] universal = true +[tool.isort] +profile = "black" +default_section = "THIRDPARTY" +known_first_party = "goodconf" + +[tool.pytest.ini_options] +addopts = "--cov" + [build-system] requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2"] build-backend = "setuptools.build_meta" \ No newline at end of file diff --git a/setup.cfg b/setup.cfg index 130bcfe..4ac8f0d 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,28 +1,8 @@ -[tool:pytest] -addopts = --cov - [zest.releaser] tag-signing = yes date-format = %%-d %%B %%Y tag-format = v{version} -[check-manifest] -ignore = - tests - tests/* - -[coverage:run] -source = goodconf - -[coverage:report] -show_missing = true -skip_covered = true - -[isort] -profile = black -default_section = THIRDPARTY -known_first_party = goodconf - [flake8] extend-ignore = E203 max-line-length = 88 \ No newline at end of file