-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
64 lines (52 loc) · 1.24 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
[tool.poetry]
name = "refex"
version = "0.1.1"
description = "A syntactically-aware search and replace tool."
authors = ["Devin Jeanpierre <[email protected]>"]
license = "Apache-2.0"
readme = "README.md"
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"Operating System :: POSIX",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries :: Python Modules",
]
[tool.poetry.scripts]
refex = "refex.cli:main"
[tool.poetry.dependencies]
python = "^3.6"
absl-py = "^0.9"
asttokens = "^2"
attrs = "^19.2"
cached-property = "^1"
colorama = "^0.4"
# docs
m2r = { version = "^0.2", optional = true }
sphinx = { version = "^2.4", optional = true }
[tool.poetry.dev-dependencies]
# TODO: make absl a test-only dep
pytest = "^6"
# rxerr_debug
pygments = "^2"
[tool.poetry.extras]
docs = ["m2r", "sphinx"]
[tool.isort]
profile = "google"
# https://tox.readthedocs.io/
[tool.tox]
legacy_tox_ini = """
[tox]
isolated_build = True
envlist = py39, py38, py37, py36, pypy37, pypy36
[testenv]
deps =
poetry
commands =
poetry install -v
poetry run pytest
"""
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"