-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
81 lines (69 loc) · 1.88 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
# SPDX-FileCopyrightText: 2023 Kevin Meagher
#
# SPDX-License-Identifier: GPL-3.0-or-later
[build-system]
build-backend = "flit_core.buildapi"
requires = ["flit_core >=3.2,<4"]
[project]
authors = [{name = "Kevin Meagher"}]
classifiers = [
"Environment :: Console",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.11",
"Topic :: Utilities"
]
dependencies = [
"babel",
"tabulate",
"termcolor",
"tomli; python_version < '3.11'",
"tzlocal",
"xdg; python_version < '3.10'",
"xdg-base-dirs; python_version >= '3.10'"
]
dynamic = ["version", "description"]
license = {file = "COPYING"}
name = "multizone"
[project.optional-dependencies]
dev = ["pre-commit"]
mypy = ["types-tabulate", "types-tzlocal", "types-termcolor"]
test = ["pytest", "pytest-cov"]
[project.scripts]
multizone = "multizone:main"
[tool.coverage.run]
include = ["multizone.py"]
[tool.pylint.format]
max-line-length = "108"
[tool.pylint.message_control]
disable = "R0912,R0914"
[tool.ruff]
line-length = 108
target-version = "py39"
[tool.ruff.lint]
fixable = ["D", "I", "COM"]
ignore = [
"S101", # assert
"D213", # multi-line-summary-second-line incompatible with multi-line-summary-first-line
"D203" # one-blank-line-before-class" incompatible with no-blank-line-before-class
]
select = ["ALL"]
[tool.ruff.per-file-ignores]
"test_mz.py" = ["PLR2004"]
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py3{9,10,11,12,13}
isolated_build = True
[testenv]
usedevelop=True
deps = .[test]
commands = pytest
"""