This repository has been archived by the owner on Oct 3, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
73 lines (65 loc) · 1.73 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
# Package manager metadata
[tool.poetry]
name = "konfik"
version = "2.0.5"
description = "The Strangely Familiar Config Parser"
authors = ["rednafi <[email protected]>"]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/rednafi/konfik"
repository = "https://github.com/rednafi/konfik"
keywords = ["config", "configuration", "toml", "dotenv", "yaml"]
classifiers = [
"Environment :: Console",
"Operating System :: OS Independent",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Quality Assurance",
]
include = ["LICENSE"]
[tool.poetry.dependencies]
python = "^3.6"
toml = "^0.10.2"
python-dotenv = ">=0.15,<0.18"
PyYAML = "^5.4.1"
Pygments = "^2.8.0"
pytest = "^6.2.2"
tox = "^3.21.4"
black = "^20.8b1"
pytest-cov = "^2.11.1"
isort = "^5.7.0"
[tool.poetry.dev-dependencies]
pytest = "^6.2.2"
tox = "^3.21.4"
black = "^20.8b1"
pytest-cov = "^2.11.1"
isort = "^5.7.0"
# CLI entrypoints
[tool.poetry.scripts]
konfik = "konfik:cli_entrypoint"
# Third-party configs
[tool.black]
line-length = 88
[tool.isort]
profile = "black"
atomic = true
[tool.tox]
legacy_tox_ini = """
# content of: tox.ini , put in same dir as setup.py
[tox]
envlist = py36,py37,py38,py39
isolated_build = True
[testenv]
# install pytest in the virtualenv where commands will be executed
deps = pytest
install_commands =
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -
poetry install --no-dev
commands =
# NOTE: you can run any command line tool here - not just tests
pytest -v -s
"""
# PEP-518: build-requires
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"