-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5ec7648
commit 1af8929
Showing
1 changed file
with
24 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,9 +2,7 @@ | |
name = "poetry" | ||
version = "1.5.0.dev0" | ||
description = "Python dependency management and packaging made easy." | ||
authors = [ | ||
"Sébastien Eustace <[email protected]>", | ||
] | ||
authors = ["Sébastien Eustace <[email protected]>"] | ||
maintainers = [ | ||
"Arun Babu Neelicattu <[email protected]>", | ||
"Bjorn Neergaard <[email protected]>", | ||
|
@@ -16,25 +14,20 @@ maintainers = [ | |
] | ||
license = "MIT" | ||
readme = "README.md" | ||
packages = [ | ||
{ include = "poetry", from = "src" } | ||
] | ||
include = [ | ||
{ path = "tests", format = "sdist" } | ||
] | ||
packages = [{ include = "poetry", from = "src" }] | ||
include = [{ path = "tests", format = "sdist" }] | ||
homepage = "https://python-poetry.org/" | ||
repository = "https://github.com/python-poetry/poetry" | ||
documentation = "https://python-poetry.org/docs" | ||
keywords = ["packaging", "dependency", "poetry"] | ||
classifiers = [ | ||
"Topic :: Software Development :: Build Tools", | ||
"Topic :: Software Development :: Libraries :: Python Modules" | ||
"Topic :: Software Development :: Libraries :: Python Modules", | ||
] | ||
|
||
[tool.poetry.urls] | ||
Changelog = "https://python-poetry.org/history/" | ||
|
||
|
||
# Requirements | ||
[tool.poetry.dependencies] | ||
python = "^3.7" | ||
|
@@ -99,7 +92,6 @@ optional = true | |
[tool.poetry.group.github-actions.dependencies] | ||
pytest-github-actions-annotate-failures = "^0.1.7" | ||
|
||
|
||
[tool.poetry.scripts] | ||
poetry = "poetry.console.application:main" | ||
|
||
|
@@ -112,28 +104,28 @@ build-backend = "poetry.core.masonry.api" | |
[tool.ruff] | ||
fix = true | ||
unfixable = [ | ||
"ERA", # do not autoremove commented out code | ||
"ERA", # do not autoremove commented out code | ||
] | ||
target-version = "py37" | ||
line-length = 88 | ||
extend-select = [ | ||
"B", # flake8-bugbear | ||
"B", # flake8-bugbear | ||
"C4", # flake8-comprehensions | ||
"ERA", # flake8-eradicate/eradicate | ||
"PIE", # flake8-pie | ||
"SIM", # flake8-simplify | ||
"TID", # flake8-tidy-imports | ||
"TCH", # flake8-type-checking | ||
"N", # pep8-naming | ||
"RUF", # ruff checks | ||
"ERA", # flake8-eradicate/eradicate | ||
"I", # isort | ||
"N", # pep8-naming | ||
"PIE", # flake8-pie | ||
"PGH", # pygrep | ||
"RUF", # ruff checks | ||
"SIM", # flake8-simplify | ||
"TCH", # flake8-type-checking | ||
"TID", # flake8-tidy-imports | ||
"UP", # pyupgrade | ||
"I", # isort | ||
"PGH", # pygrep | ||
] | ||
ignore = [ | ||
"B904", # use 'raise ... from err' | ||
"B905", # use explicit 'strict=' parameter with 'zip()' | ||
"N818" # Exception name should be named with an Error suffix | ||
"B904", # use 'raise ... from err' | ||
"B905", # use explicit 'strict=' parameter with 'zip()' | ||
"N818", # Exception name should be named with an Error suffix | ||
] | ||
extend-exclude = [ | ||
"docs/*", | ||
|
@@ -176,9 +168,9 @@ enable_error_code = [ | |
"truthy-bool", | ||
] | ||
exclude = [ | ||
"tests/fixtures", | ||
"tests/masonry/builders/fixtures", | ||
"tests/utils/fixtures" | ||
"tests/fixtures", | ||
"tests/masonry/builders/fixtures", | ||
"tests/utils/fixtures", | ||
] | ||
|
||
# use of importlib-metadata backport makes it impossible to satisfy mypy | ||
|
@@ -189,9 +181,9 @@ module = [ | |
'poetry.plugins.plugin_manager', | ||
'poetry.repositories.installed_repository', | ||
'poetry.utils.env', | ||
'tests.console.commands.self.test_show_plugins', | ||
'tests.helpers', | ||
'tests.repositories.test_installed_repository', | ||
'tests.console.commands.self.test_show_plugins' | ||
] | ||
warn_unused_ignores = false | ||
|
||
|
@@ -208,16 +200,14 @@ module = [ | |
'shellingham.*', | ||
'virtualenv.*', | ||
'xattr.*', | ||
'zipp.*' | ||
'zipp.*', | ||
] | ||
ignore_missing_imports = true | ||
|
||
|
||
[tool.pytest.ini_options] | ||
addopts = "-n auto" | ||
testpaths = [ | ||
"tests" | ||
] | ||
testpaths = ["tests"] | ||
|
||
|
||
[tool.coverage.report] | ||
|