Skip to content

Commit 8beb6d0

Browse files
committed
Return [tool.poetry] to pyproject.toml
1 parent acb7a77 commit 8beb6d0

4 files changed

Lines changed: 15 additions & 16 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ Semantic versioning in our case means:
3434
### Misc
3535

3636
- Improves docs: remove outdated AST online visualisation tool url
37+
- Returns `[tool.poetry]` instead of `[project]` in `pyproject.toml`
3738

3839

3940
## 1.4.0

Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ unit:
2020

2121
.PHONY: package
2222
package:
23-
# TODO: re-enable when poetry@2.0 support will be fixed
24-
# poetry run poetry check
2523
poetry run pip check
2624

2725
.PHONY: test

poetry.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
build-backend = "poetry.core.masonry.api"
33
requires = [ "poetry-core>=2.2" ]
44

5-
[project]
5+
[tool.poetry]
66
name = "wemake-python-styleguide"
77
version = "1.4.0"
88
description = "The strictest and most opinionated python linter ever"
9-
10-
license = {text = "MIT"}
9+
license = "MIT"
10+
requires-poetry = ">=2.2"
1111

1212
authors = [
13-
{name = "Nikita Sobolev", email = "mail@sobolevn.me"}
13+
"Nikita Sobolev <mail@sobolevn.me>",
1414
]
1515

1616
readme = "README.md"
@@ -37,7 +37,7 @@ classifiers = [
3737
"Typing :: Typed",
3838
]
3939

40-
[project.urls]
40+
[tool.poetry.urls]
4141
Homepage = "https://wemake-python-styleguide.rtfd.io"
4242
Repository = "https://github.com/wemake-services/wemake-python-styleguide"
4343
Funding = "https://opencollective.com/wemake-python-styleguide"
@@ -61,19 +61,19 @@ pytest-cov = "^7.0"
6161
pytest-randomly = "^4.0"
6262
pytest-xdist = "^3.8"
6363
covdefaults = "^2.3"
64-
syrupy = "^4.6"
64+
syrupy = "^5.0"
6565
hypothesis = "^6.135"
6666
hypothesmith = "^0.3"
6767

68-
mypy = "^1.18"
68+
mypy = "^1.19"
6969
types-flake8 = "^7.3"
7070

7171
import-linter = "^2.0"
7272

7373
astpath = "^0.9"
7474
lxml = "^6.0"
7575
nbqa = "^1.2"
76-
ruff = ">=0.14"
76+
ruff = "^0.14"
7777
black = "^25.1"
7878

7979
[tool.poetry.group.docs]

0 commit comments

Comments
 (0)