-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
111 lines (102 loc) · 2.7 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
[tool.poetry]
name = "ipython-style-gruvbox"
version = "1.0.0"
description = "An opinionated terminal colorscheme for IPython using gruvbox colors."
license = "ISC"
authors = ["Reilly Tucker Siemens <reilly@tuckersiemens.com>"]
readme = "README.rst"
homepage = "https://github.com/reillysiemens/ipython-style-gruvbox"
repository = "https://github.com/reillysiemens/ipython-style-gruvbox"
keywords = ["ipython", "pygments-style", "gruvbox"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Framework :: IPython",
"Intended Audience :: Developers",
"License :: OSI Approved :: ISC License (ISCL)",
"Natural Language :: English",
"Operating System :: POSIX :: Linux",
"Operating System :: POSIX :: BSD :: FreeBSD",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Software Development",
"Topic :: Religion",
]
packages = [
{ include = "gruvbox.py" },
]
[tool.poetry.dependencies]
python = "^3.8"
pygments = "^2.6.1"
[tool.poetry.dev-dependencies]
tox = "^3.14.5"
tox-gh-actions = "^1.1.0"
[tool.poetry.plugins."pygments.styles"]
gruvbox = "gruvbox:GruvboxStyle"
[tool.tox]
legacy_tox_ini = """
[tox]
minversion = 3.14.0
envlist =
python3.8
python3.9
python3.10
static
docs
[testenv]
whitelist_externals = poetry
skip_install = true
deps =
pytest ~= 5.3.0
pytest-cov ~= 2.8.0
pytest-randomly ~= 3.2.0
# XXX: (2020-03-15) This will install tox again, but it only happens once.
commands_pre = poetry install
commands =
pytest \
--verbose \
--cov=gruvbox \
--cov-report=term-missing \
--cov-fail-under=100 \
{posargs}
[testenv:static]
basepython = python3.9
deps =
bandit ~= 1.6.0
black ~= 19.10b0
flake8 ~= 3.7.0
flake8-bugbear ~= 20.1.0
flake8-commas ~= 2.0.0
flake8-docstrings ~= 1.5.0
pep8-naming ~= 0.9.0
mypy ~= 0.760
commands_pre =
commands =
black --check gruvbox.py
flake8 --docstring-convention=google gruvbox.py
mypy \
--disallow-untyped-calls \
--disallow-untyped-defs \
--disallow-incomplete-defs \
--disallow-untyped-decorators \
gruvbox.py
bandit --recursive -ll gruvbox.py
[testenv:docs]
basepython = python3.9
deps =
sphinx ~= 3.3.0
sphinx-autodoc-typehints ~= 1.10.0
furo == 2020.11.27b19
commands_pre =
commands =
sphinx-build -b html docs {posargs:docs/_build/html}
[gh-actions]
python =
3.8: python3.8
3.9: python3.9, static, docs
3.10: python3.10
"""