Skip to content

Commit 27c4194

Browse files
authored
Cleanup pyproject (python-poetry#589)
1 parent e69d8e7 commit 27c4194

File tree

2 files changed

+10
-22
lines changed

2 files changed

+10
-22
lines changed

poetry.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

+9-21
Original file line numberDiff line numberDiff line change
@@ -3,34 +3,21 @@ name = "poetry-core"
33
version = "1.6.0"
44
description = "Poetry PEP 517 Build Backend"
55
authors = ["Sébastien Eustace <[email protected]>"]
6-
76
license = "MIT"
8-
97
readme = "README.md"
10-
118
homepage = "https://github.com/python-poetry/poetry-core"
129
repository = "https://github.com/python-poetry/poetry-core"
13-
1410
keywords = ["packaging", "dependency", "poetry"]
15-
1611
classifiers = [
1712
"Topic :: Software Development :: Build Tools",
1813
"Topic :: Software Development :: Libraries :: Python Modules"
1914
]
20-
2115
packages = [
2216
{ include = "poetry", from = "src" },
2317
]
2418
include = [
2519
{ path = "tests", format = "sdist" },
2620
]
27-
exclude = [
28-
"**/*.pyc",
29-
"**/*.pyi",
30-
]
31-
32-
[tool.poetry.build]
33-
generate-setup-file = false
3421

3522
[tool.poetry.urls]
3623
"Bug Tracker" = "https://github.com/python-poetry/poetry/issues"
@@ -41,18 +28,21 @@ python = "^3.7"
4128
# required for compatibility
4229
importlib-metadata = {version = ">=1.7.0", python = "<3.8"}
4330

44-
[tool.poetry.dev-dependencies]
31+
[tool.poetry.group.dev.dependencies]
4532
pre-commit = ">=2.15.0"
46-
pyrsistent = ">=0.18.0"
47-
pytest = ">=7.1.2"
48-
pytest-cov = ">=3.0.0"
49-
pytest-mock = ">=3.5"
5033
tox = ">=3.0"
5134
vendoring = {version = ">=1.0", python = "^3.8"}
35+
36+
[tool.poetry.group.test.dependencies]
37+
pytest = ">=7.1.2"
38+
pytest-cov = ">=3.0.0"
39+
pytest-mock = ">=3.10"
5240
build = ">=0.10.0"
53-
mypy = ">=1.0"
5441
setuptools = ">=60"
5542
tomli-w = "^1.0.0"
43+
44+
[tool.poetry.group.typing.dependencies]
45+
mypy = ">=1.0"
5646
types-jsonschema = ">=4.4.4"
5747
types-setuptools = ">=57.4.14"
5848

@@ -102,9 +92,7 @@ required-imports = ["from __future__ import annotations"]
10292

10393

10494
[tool.black]
105-
line-length = 88
10695
preview = true
107-
include = '\.pyi?$'
10896
extend-exclude = "src/poetry/core/_vendor/*"
10997

11098

0 commit comments

Comments
 (0)