-
Notifications
You must be signed in to change notification settings - Fork 6
/
pyproject.toml
80 lines (76 loc) · 2.07 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
[tool.poetry]
authors = [
"Dawid Kraczkowski <dawid.kraczkowski@gmail.com>"
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Natural Language :: English",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python",
"Topic :: Software Development :: Code Generators",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Libraries",
"Topic :: Utilities"
]
description = "Chili is serialisation library. It can serialise/deserialise almost any object."
documentation = "https://github.com/kodemore/chili"
homepage = "https://github.com/kodemore/chili"
keywords = ["class", "decode", "deserialise", "encode", "object", "serialise"]
license = "MIT"
name = "chili"
readme = "README.md"
repository = "https://github.com/kodemore/chili"
version = "2.9.0"
[tool.poetry.dependencies]
gaffe = ">=0.3.0"
python = "^3.8"
typing-extensions = "^4.2"
[tool.poetry.group.dev.dependencies]
black = "22.3"
isort = "^5.6.4"
mypy = "^0.961"
pylint = "^2.7.2"
pytest = "^7.1"
pytest-cov = "^3.0"
pytest-mock = "^3.7"
ruff = "^0.0.284"
toml-sort = "^0.23.1"
[tool.ruff]
# Exclude a variety of commonly ignored directories.
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".mypy_cache",
".nox",
".pants.d",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"venv"
]
# Allow autofix for all enabled rules (when `--fix`) is provided.
fixable = ["A", "ANN", "ARG", "B", "BLE", "C", "COM", "D", "DJ", "DTZ", "E", "EM", "ERA", "EXE", "F", "FBT", "G", "I", "ICN", "INP", "ISC", "N", "NPY", "PD", "PGH", "PIE", "PL", "PT", "PTH", "PYI", "Q", "RET", "RSE", "RUF", "S", "SIM", "SLF", "T", "TCH", "TID", "TRY", "UP", "W", "YTT"]
ignore = []
# Same as Black.
line-length = 120
# Enable pycodestyle (`E`) codes by default.
select = ["E"]
# Assume Python 3.9
target-version = "py39"
unfixable = []
[tool.ruff.mccabe]
max-complexity = 8