forked from python-poetry/poetry-plugin-export
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
76 lines (65 loc) · 1.61 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
[tool.poetry]
name = "poetry-plugin-export"
version = "1.0.6"
description = "Poetry plugin to export the dependencies to various formats"
authors = ["Sébastien Eustace <sebastien@eustace.io>"]
license = "MIT"
readme = "README.md"
packages = [
{ include = "poetry_plugin_export", from = "src" }
]
include = [
{ path = "tests", format = "sdist" }
]
[tool.poetry.dependencies]
python = "^3.7"
poetry = "^1.2.0b3"
poetry-core = "^1.1.0b3"
[tool.poetry.dev-dependencies]
pre-commit = "^2.18"
pytest = "^7.1"
pytest-mock = "^3.6.1"
mypy = ">=0.950"
[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
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"