-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
44 lines (36 loc) · 1.04 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
[tool.poetry]
name = "poetry-plugin-compat-env-py2"
version = "0.1.0"
description = "Poetry Plugin: Python 2 Environment Compatibility Patch"
authors = ["Arun Babu Neelicattu <arun.neelicattu@gmail.com>"]
readme = "README.md"
packages = [{include = "poetry_plugin_compat_env_py2", from = "src"}]
[tool.poetry.dependencies]
python = "^3.7"
poetry = {git = "https://github.com/python-poetry/poetry.git", rev = "master"}
[tool.poetry.dev-dependencies]
pre-commit = "^2.18.1"
pytest = "^7.1.2"
[tool.poetry.plugins."poetry.plugin"]
compat-env-py2 = "poetry_plugin_compat_env_py2.plugins:CompatEnvPy2Plugin"
[tool.isort]
py_version = 37
profile = "black"
force_single_line = true
combine_as_imports = true
lines_between_types = 1
lines_after_imports = 2
src_paths = ["src", "tests"]
[tool.black]
target-version = ['py37']
preview = true
[tool.mypy]
strict = true
explicit_package_bases = true
namespace_packages = true
show_error_codes = true
mypy_path = "src"
files = "src, tests"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"