-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
72 lines (59 loc) · 1.67 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 CONFIG ###
[build-system]
build-backend = "flit_core.buildapi"
requires = ["flit_core >=3.2,<4"]
[project]
authors = [{name = "Ben Soyka", email = "[email protected]"}]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Natural Language :: English",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = ["arrow~=1.3.0"]
dynamic = ["version", "description"]
license = {file = "LICENSE"}
name = "discord-timestamps"
readme = "README.md"
requires-python = "~=3.8"
[tool.flit.module]
name = "discord_timestamps"
[project.urls]
Changelog = "https://github.com/bsoyka/discord-timestamps/releases"
Documentation = "https://github.com/bsoyka/discord-timestamps/wiki"
Source = "https://github.com/bsoyka/discord-timestamps"
### TOOLS ###
[tool.black]
line-length = 79
[tool.coverage.run]
source = ["discord_timestamps"]
[tool.coverage.report]
omit = ["tests/*"]
[tool.isort]
line_length = 79
profile = "black"
[tool.poe.tasks]
_black = "black ."
_isort = "isort ."
coverage = "coverage run -m pytest"
format = ["_black", "_isort"]
install = "flit install"
test = "tox"
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py38,py39,py310,py311,py312
isolated_build = True
[testenv]
deps = pytest
commands = pytest
"""