forked from pappasam/toml-sort
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
72 lines (65 loc) · 1.57 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
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 79
[tool.isort]
line_length = 79
indent = ' '
multi_line_output = 3
include_trailing_comma = true
[tool.poetry]
name = "toml-sort"
version = "0.19.0"
description = "Toml sorting library"
authors = ["Sam Roeca <[email protected]>"]
readme = "README.md"
homepage = "https://toml-sort.readthedocs.io/en/latest/"
repository = "https://github.com/pappasam/toml-sort"
keywords = ["toml", "sort", "cli", "unix", "utility"]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Topic :: Software Development :: Code Generators",
"Topic :: Utilities",
"Typing :: Typed",
]
include = ["README.md"]
license = "MIT"
[tool.poetry.dependencies]
python = "^3.6"
tomlkit = ">=0.10.0"
[tool.poetry.dev-dependencies]
pylint = "^2.7.4"
black = {version = "^21.12b0", allow-prereleases = true, python = "^3.6.2"}
mypy = "^0.812.0"
pre-commit = "^1.18"
tox = "^3.13"
pytest = "^6.2.2"
tox-asdf = "^0.1.0"
isort = "^5.8.0"
sphinx = "^3.5.3"
sphinx-rtd-theme = "^0.5.1"
m2r2 = "^0.2.7"
sphinx-click = "^2.7.1"
docformatter = "^1.4"
pytest-cov = "^2.11.1"
[tool.poetry.scripts]
toml-sort = 'toml_sort.cli:entrypoint'
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py36,py37,py38,py39
isolated_build = true
skipsdist = true
[testenv]
platform = linux
whitelist_externals = poetry
skip_install = true
commands =
poetry install
poetry run black --check --diff toml_sort tests
poetry run mypy toml_sort
poetry run pylint toml_sort tests
poetry run pytest -vv
"""