-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
75 lines (65 loc) · 1.51 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
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "tinykv"
authors = [{name = "Flavio Veloso Soares", email = "[email protected]"}]
license = {file = "LICENSE"}
readme = "README.md"
classifiers = [
"License :: OSI Approved :: MIT License",
]
requires-python = ">=3.7"
dynamic = ["version", "description"]
[project.optional-dependencies]
dev = [
"codespell",
"flake8-bugbear",
"flake8-builtins",
"flake8-docstrings",
"flake8-tidy-imports",
"flake8-walrus",
'flake8',
'flit',
'mypy',
'pylint',
'taskipy',
]
[tool.codespell]
skip = '*~,./.git,./.venv,./.mypy_cache,./dist'
[tool.taskipy.tasks]
spellcheck = "codespell"
test = "python -m unittest tests/test_*.py"
lint = "flake8 && mypy && pylint src tests"
pre-commit = "task spellcheck && task test && task lint"
[tool.mypy]
files = "."
python_version = "3.7"
exclude = [".git", ".venv"]
strict = true
warn_redundant_casts = true
warn_return_any = true
warn_unreachable = true
pretty = true
[tool.pylint.master]
ignore = [".git", ".venv"]
ignore-patterns = '^\.#'
load-plugins = [
'pylint.extensions.bad_builtin',
'pylint.extensions.check_elif',
'pylint.extensions.docparams',
'pylint.extensions.docstyle',
'pylint.extensions.overlapping_exceptions',
]
jobs = 0
[tool.pylint.basic]
good-names = [
"db", "k", "v",
]
[tool.pylint.messages_control]
disable = [
# docstring checks already done by flake8.
"missing-function-docstring",
"missing-module-docstring",
"missing-class-docstring",
]