forked from python-poetry/poetry-plugin-export
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
95 lines (80 loc) · 2.07 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
[tool.poetry]
name = "poetry-plugin-export"
version = "1.2.0"
description = "Poetry plugin to export the dependencies to various formats"
authors = ["Sébastien Eustace <[email protected]>"]
license = "MIT"
readme = "README.md"
homepage = "https://python-poetry.org/"
repository = "https://github.com/python-poetry/poetry-plugin-export"
packages = [
{ include = "poetry_plugin_export", from = "src" }
]
include = [
{ path = "tests", format = "sdist" }
]
[tool.poetry.dependencies]
python = "^3.7"
poetry = "^1.2.2"
poetry-core = "^1.3.0"
[tool.poetry.group.dev.dependencies]
pre-commit = "^2.18"
pytest = "^7.1"
pytest-cov = "^4.0"
pytest-mock = "^3.9"
pytest-randomly = "^3.12"
pytest-xdist = { version = "^2.5", extras = ["psutil"] }
mypy = ">=0.971"
# only used in github actions
[tool.poetry.group.github-actions]
optional = true
[tool.poetry.group.github-actions.dependencies]
pytest-github-actions-annotate-failures = "^0.1.7"
[tool.poetry.plugins."poetry.application.plugin"]
export = "poetry_plugin_export.plugins:ExportApplicationPlugin"
[tool.black]
target-version = ['py37']
preview = true
[tool.isort]
profile = "black"
force_single_line = true
atomic = true
include_trailing_comma = true
lines_after_imports = 2
lines_between_types = 1
use_parentheses = true
[tool.mypy]
namespace_packages = true
show_error_codes = true
enable_error_code = [
"ignore-without-code",
"redundant-expr",
"truthy-bool",
]
strict = true
files = ["src", "tests"]
exclude = ["^tests/fixtures/"]
[[tool.mypy.overrides]]
module = [
'cleo.*',
]
ignore_missing_imports = true
# use of importlib-metadata backport at python3.7 makes it impossible to
# satisfy mypy without some ignores: but we get a different set of ignores at
# different python versions.
#
# <https://github.com/python/mypy/issues/8823>, meanwhile suppress that
# warning.
[[tool.mypy.overrides]]
module = [
'poetry_plugin_export',
]
warn_unused_ignores = false
[tool.pytest.ini_options]
addopts = "-n auto"
testpaths = [
"tests"
]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"