Skip to content
This repository was archived by the owner on Nov 19, 2023. It is now read-only.

Commit 8681c40

Browse files
committed
chore: Clean up isort and coverage settings
1 parent 0b13eb4 commit 8681c40

File tree

1 file changed

+8
-13
lines changed

1 file changed

+8
-13
lines changed

pyproject.toml

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -56,31 +56,27 @@ prance = "*"
5656
pyYAML = "*"
5757

5858
[tool.poetry.dev-dependencies]
59+
coverage = { extras = ["toml"], version = "^6"}
5960
drf-spectacular = "*"
6061
drf-yasg = "*"
6162
Faker = "*"
6263
pre-commit = "*"
63-
pytest = "*"
64-
pytest-django = "*"
6564
pylint = "*"
66-
coverage = { extras = ["toml"], version = "6.1"}
65+
pytest = "*"
6766
pytest-cov = "*"
67+
pytest-django = "*"
68+
69+
[build-system]
70+
requires = ["poetry>=0.12"]
71+
build-backend = "poetry.masonry.api"
6872

6973
[tool.black]
7074
line-length = 120
7175
include = '\.pyi?$'
7276

7377
[tool.isort]
7478
profile = "black"
75-
multi_line_output = 3
76-
include_trailing_comma = true
7779
line_length = 120
78-
known_third_party = ["django", "drf_spectacular", "drf_yasg", "faker", "inflection", "openapi_spec_validator", "prance", "pytest", "rest_framework", "yaml"]
79-
known_first_party = ["openapi_tester"]
80-
81-
[build-system]
82-
requires = ["poetry>=0.12"]
83-
build-backend = "poetry.masonry.api"
8480

8581
[tool.pylint.FORMAT]
8682
max-line-length = 120
@@ -106,9 +102,8 @@ max-locals = 20
106102
good-names = "_,e,i"
107103

108104
[tool.coverage.run]
109-
source = ["openapi_tester/*"]
105+
source = ["openapi_tester"]
110106
omit = [
111-
"openapi_tester/type_declarations.py",
112107
"manage.py",
113108
"test_project/*",
114109
]

0 commit comments

Comments
 (0)