-
-
Notifications
You must be signed in to change notification settings - Fork 37
/
pyproject.toml
129 lines (115 loc) · 3.64 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
[tool.poetry]
name = "yaspin"
version = "3.1.0"
description = "Yet Another Terminal Spinner"
license = "MIT"
authors = ["Pavlo Dmytrenko <[email protected]>"]
readme = "README.md"
homepage = "https://github.com/pavdmyt/yaspin"
repository = "https://github.com/pavdmyt/yaspin"
documentation = "https://github.com/pavdmyt/yaspin/blob/master/README.md"
keywords = ["spinner", "console", "terminal", "loader", "indicator"]
include = [
{ path = "tests", format = "sdist" },
{ path = "examples", format = "sdist" },
{ path = "HISTORY.rst", format = "sdist"}
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Environment :: MacOS X",
"Environment :: Other Environment",
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Other Audience",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"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 :: Implementation",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: User Interfaces",
"Topic :: System :: Logging",
"Topic :: System :: Monitoring",
"Topic :: System :: Shells",
"Topic :: Terminals",
"Topic :: Utilities",
]
[tool.poetry.dependencies]
python = "^3.9"
termcolor = ">=2.2.0, <2.4.0"
[tool.poetry.dev-dependencies]
mypy = "^1.11"
pytest = "^8.1, <8.2"
pytest-xdist = "^3.5, !=3.6.0"
pytest-cov = "^5.0"
semgrep = "^1.89"
ruff = "^0.7.0"
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/pavdmyt/yaspin/issues"
"Changelog" = "https://github.com/pavdmyt/yaspin/releases"
[build-system]
requires = ["poetry_core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.mypy]
python_version = "3.9"
show_error_codes = true
pretty = true
disable_error_code = ["annotation-unchecked"]
namespace_packages = false
disallow_incomplete_defs = true
disallow_untyped_decorators = true
disallow_untyped_defs = true
warn_no_return = true
warn_redundant_casts = true
warn_unused_configs = true
warn_unused_ignores = true
[tool.ruff]
line-length = 110
target-version = "py39"
[tool.ruff.format]
indent-style = "space"
docstring-code-format = true
[tool.ruff.lint]
select = [
# pycodestyle
"E",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# flake8-tidy-imports
"TID",
# isort
"I",
# mutable-argument-default - Do not use mutable data structures for argument defaults.
"B006",
]
[tool.ruff.lint.isort]
# Combines as imports on the same line.
combine-as-imports = true
# Whether to place import from imports before straight imports when sorting.
from-first = true
# The number of lines to place between "direct" and 'import from' imports.
lines-between-types = 1
# Put all imports into the same section bucket.
# This configuration breaks the Python convention.
# no-sections = true
# Order imports by type, which is determined by case, in addition to alphabetically.
order-by-type = false