Skip to content

Commit 15d94ca

Browse files
wjqsmsobolevn
andauthored
Update deprecated sections (#3403)
Co-authored-by: sobolevn <mail@sobolevn.me>
1 parent e9103c2 commit 15d94ca

2 files changed

Lines changed: 8 additions & 9 deletions

File tree

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
def _get_project_meta():
2525
with pathlib.Path('../pyproject.toml').open(mode='rb') as pyproject:
26-
return tomli.load(pyproject)['tool']['poetry']
26+
return tomli.load(pyproject)['project']
2727

2828

2929
pkg_meta = _get_project_meta()

pyproject.toml

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

5-
[tool.poetry]
5+
[project]
66
name = "wemake-python-styleguide"
77
version = "1.1.0"
88
description = "The strictest and most opinionated python linter ever"
99

10-
license = "MIT"
10+
license = {text = "MIT"}
1111

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

1616
readme = "README.md"
1717

18-
repository = "https://github.com/wemake-services/wemake-python-styleguide"
19-
homepage = "https://wemake-python-styleguide.rtfd.io"
20-
2118
keywords = [
2219
"flake8",
2320
"flake8-plugin",
@@ -40,8 +37,10 @@ classifiers = [
4037
"Typing :: Typed",
4138
]
4239

43-
[tool.poetry.urls]
44-
"Funding" = "https://opencollective.com/wemake-python-styleguide"
40+
[project.urls]
41+
Homepage = "https://wemake-python-styleguide.rtfd.io"
42+
Repository = "https://github.com/wemake-services/wemake-python-styleguide"
43+
Funding = "https://opencollective.com/wemake-python-styleguide"
4544

4645
[tool.poetry.plugins."flake8.extension"]
4746
WPS = "wemake_python_styleguide.checker:Checker"

0 commit comments

Comments
 (0)