-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
91 lines (82 loc) · 3.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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# ┌----------------------------------------------------------------------------┐
# | Package Info |
# └----------------------------------------------------------------------------┘
[tool.poetry]
name = "power_cache"
version = "0.1.1"
description = "Simple (but powerful) Caching Tools"
authors = ["Andres Correa Casablanca <[email protected]>"]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/Coder-Spirit/power_cache"
repository = "https://github.com/Coder-Spirit/power_cache"
keywords = ["cache", "lru", "ttl", "decorator"]
classifiers = [
"Environment :: Console",
"Environment :: Web Environment",
"Environment :: Other Environment",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Utilities",
"Intended Audience :: Developers",
"Typing :: Typed",
]
include = ["LICENSE"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
# ┌----------------------------------------------------------------------------┐
# | Dependencies |
# └----------------------------------------------------------------------------┘
[tool.poetry.dependencies]
python = "^3.7"
[tool.poetry.dev-dependencies]
autoflake = "^1.4"
bandit = "^1.7.0"
black = "^21.9b0"
flake8 = "^3.9.2"
flakehell = "^0.9.0"
isort = "^5.9.3"
mypy = "^0.910"
pep8-naming = "^0.12.1"
poethepoet = "^0.10.0"
pylint = "^2.11.1"
pytest = "^6.2.5"
pytest-asyncio = "^0.15.1"
pytest-cov = "^2.12.1"
pytest-mypy = "^0.8.1"
safety = "^1.10.3"
# ┌----------------------------------------------------------------------------┐
# | Dev Tools & Automation |
# └----------------------------------------------------------------------------┘
[tool.poe.tasks]
# WARNING: Don't replace "sh -c '[...]'" by { shell = "[...]"}. It will fail if
# you are using a non-POSIX shell (like Fish).
install-hooks = "sh -c 'if [ -d .git ]; then git config core.hooksPath .hooks; fi'"
test = "pytest --strict-config --cov=power_cache tests/*.py"
# ┌----------------------------------------------------------------------------┐
# | Linting Configuration |
# └----------------------------------------------------------------------------┘
[tool.flakehell]
extended_default_ignore = []
max_line_length = 100
format = "grouped"
show_source = true
[tool.flakehell.plugins]
flake8-blind-except = ["+*"]
flake8-bugbear = ["+*"]
flake8_builtins = ["+*"]
flake8-comprehensions = ["+*"]
flake8-docstrings = ["+*", "-D100", "-D107"]
flake8-executable = ["+*"]
flake8_simplify = ["+*"]
pycodestyle = ["+*", "-W503", "-E203"]
mccabe = ["+*"]
naming = ["+*"]
pydocstyle = ["+*"]
pyflakes = ["+*"]
pylint = ["+*", "-C0114", "-C0116"]
rst-docstrings = ["+*"]
[tool.flakehell.exceptions."*/test/*.py"]
flake8-docstrings = ["-*"]
rst-docstrings = ["-*"]