-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
75 lines (66 loc) · 2.02 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
[project]
name = "kellog"
version = "1.0.1"
description = "Easy logging"
readme = "README.md"
authors = [
{ name = "celynw", email = "[email protected]" },
]
license = { file = "LICENSE" }
requires-python = ">=3.7"
dependencies = ["colorama", "ujson", "typing_extensions"]
keywords = ["log", "print", "color", "pretty"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Natural Language :: English",
"Topic :: System :: Logging",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"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",
]
[project.urls]
Repository = "https://github.com/celynw/kellog"
Issues = "https://github.com/celynw/kellog/issues"
Changelog = "https://github.com/celynw/kellog/blob/master/CHANGELOG.md"
[project.optional-dependencies]
dev = ["ruff", "mypy", "pytest", "colored_traceback"]
[tool.setuptools]
packages = ["kellog"]
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"W191", # Indentation contains tabs
"D206", # Docstring should be indented with spaces, not tabs
"D212", # Multi-line docstring summary should start at the first line
"D203", # 1 blank line required before class docstring
"D413", # Missing blank line after last section
]
unfixable = [
"F401", # Imported but unused
]
[tool.ruff.format]
quote-style = "double"
indent-style = "tab"
[tool.ruff.lint.flake8-annotations]
allow-star-arg-any = true
[tool.ruff.lint.pylint]
allow-magic-value-types = ["str", "bytes", "int"]
[tool.ruff.lint.per-file-ignores]
"**/tests/**" = [
"S101", # Use of assert detected
"SLF001", # Private member accessed
"INP001", # Use of assert detected
"D100", # Missing docstring in public module
]
"__init__.py" = [
"F401", # Imported but unused
]