-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
93 lines (84 loc) · 1.92 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
[tool.poetry]
name = "mig3-client"
version = "0.5.9"
description = "Send test result to Mig3 service"
authors = ["Matthew de Verteuil <onceuponajooks@gmail.com>"]
readme = "README.md"
license = "MIT"
repository = "https://github.com/mverteuil/mig3-client"
keywords = ["python3", "migration-tool", "mig3"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
"Operating System :: Unix",
"Topic :: Software Development",
"Topic :: System",
"Topic :: Terminals",
]
[tool.poetry.scripts]
mig3 = "mig3_client:mig3"
[tool.poetry.dependencies]
python = ">=2.7.10, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*"
click = "^7.0"
pytest = "<5"
pytest-json = "^0.4.0"
requests = "^2.21"
pathlib2 = "^2.3"
gitpython = "^2.1"
tomlkit = "^0.5.3"
[tool.poetry.dev-dependencies]
pre-commit = "^1.18"
pytest-cov = "^2.8.1"
mock = "*"
[tool.black]
line-length = 120
target-version = ['py27', 'py36', 'py37']
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| setup.py
)/
'''
[tool.isort]
force_grid_wrap = 0
include_trailing_comma = true
known_third_party = "click,git,mig3_client,mock,pathlib2,pytest,requests,tomlkit"
line_length = 120
multi_line_output = 3
no_lines_before = "LOCALFOLDER"
sections = "FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER"
use_parentheses = true
verbose = true
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py{27,36,37}
skipsdist = true
[testenv]
whitelist_externals =
poetry
rm
commands =
rm -rf pip-wheel-metadata .report.json
pip install pip<19
poetry install -vvv
poetry run pytest --cov tests/
[testenv:py27]
basepython = python2
"""
[build-system]
requires = ["poetry>=0.12.16"]
build-backend = "poetry.masonry.api"