File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323
2424def _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
2929pkg_meta = _get_project_meta ()
Original file line number Diff line number Diff line change 22build-backend = " poetry.core.masonry.api"
33requires = [ " poetry-core>=2.0" ]
44
5- [tool . poetry ]
5+ [project ]
66name = " wemake-python-styleguide"
77version = " 1.1.0"
88description = " The strictest and most opinionated python linter ever"
99
10- license = " MIT"
10+ license = { text = " MIT" }
1111
1212authors = [
13- " Nikita Sobolev < mail@sobolevn.me> " ,
13+ { name = " Nikita Sobolev" , email = " mail@sobolevn.me" }
1414]
1515
1616readme = " README.md"
1717
18- repository = " https://github.com/wemake-services/wemake-python-styleguide"
19- homepage = " https://wemake-python-styleguide.rtfd.io"
20-
2118keywords = [
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" ]
4746WPS = " wemake_python_styleguide.checker:Checker"
You can’t perform that action at this time.
0 commit comments