From 2bf1fc9b5a4ded7ae9a0aa1906f6485d70a09c1d Mon Sep 17 00:00:00 2001 From: Diego Garcia Date: Wed, 29 Jul 2020 11:34:03 -0300 Subject: [PATCH] Move `isort` and `cooverage` configuration to pyproject.toml file --- pyproject.toml | 12 ++++++++++++ setup.cfg | 12 ------------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index dcc9ddd..69a70dc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,3 +27,15 @@ all = ["django", "aiocache"] [build-system] requires = ["poetry>=0.12"] build-backend = "poetry.masonry.api" + +[tool.isort] +known_first_party = "shared_memory_dict" +atomic = true +line_length = 79 +multi_line_output = 3 +use_parentheses = true +include_trailing_comma = true +force_grid_wrap = 0 + +[tool.coverage.run] +omit = ["*/*/tests/*", "*/*/settings/*"] diff --git a/setup.cfg b/setup.cfg index 288cadf..976ba02 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,14 +1,2 @@ -[coverage:run] -omit = */*/tests/*, */*/settings/* - -[isort] -known_first_party = shared_memory_dict -atomic = true -line_length = 79 -multi_line_output = 3 -use_parentheses = true -include_trailing_comma = True -force_grid_wrap = 0 - [mypy] ignore_missing_imports = True