mirror of
https://github.com/long2ice/fastapi-cache.git
synced 2026-03-24 20:47:54 +00:00
Bumps [coverage](https://github.com/nedbat/coveragepy) from 6.5.0 to 7.2.5. - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](https://github.com/nedbat/coveragepy/compare/6.5.0...7.2.5) --- updated-dependencies: - dependency-name: coverage dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
98 lines
2.4 KiB
TOML
98 lines
2.4 KiB
TOML
[tool.poetry]
|
|
name = "fastapi-cache2"
|
|
version = "0.2.1"
|
|
description = "Cache for FastAPI"
|
|
authors = ["long2ice <long2ice@gmail.com>"]
|
|
license = "Apache-2.0"
|
|
readme = "README.md"
|
|
homepage = "https://github.com/long2ice/fastapi-cache"
|
|
repository = "https://github.com/long2ice/fastapi-cache.git"
|
|
documentation = "https://github.com/long2ice/fastapi-cache"
|
|
keywords = ["fastapi", "cache", "caching"]
|
|
packages = [
|
|
{ include = "fastapi_cache" }
|
|
]
|
|
include = ["LICENSE", "README.md"]
|
|
|
|
[tool.poetry.dependencies]
|
|
python = "^3.7"
|
|
fastapi = "*"
|
|
uvicorn = "*"
|
|
redis = { version = "^4.2.0rc1", optional = true }
|
|
aiomcache = { version = "*", optional = true }
|
|
pendulum = "*"
|
|
aiobotocore = { version = ">=1.4.1,<3.0.0", optional = true }
|
|
typing-extensions = { version = ">=4.1.0" }
|
|
|
|
[tool.poetry.group.linting]
|
|
optional = true
|
|
|
|
[tool.poetry.group.linting.dependencies]
|
|
mypy = { version = "^1.2.0", python = "^3.10" }
|
|
pyright = { version = "^1.1.306", python = "^3.10" }
|
|
types-aiobotocore = { extras = ["dynamodb"], version = "^2.5.0.post2", python = "^3.10" }
|
|
types-redis = { version = "^4.5.4.2", python = "^3.10" }
|
|
ruff = { version = "^0.0.267", python = "^3.10" }
|
|
|
|
[tool.poetry.group.dev.dependencies]
|
|
pytest = "*"
|
|
requests = "*"
|
|
coverage = ">=6.5,<8.0"
|
|
httpx = "*"
|
|
tox = "^4.5.1"
|
|
|
|
[tool.poetry.extras]
|
|
redis = ["redis"]
|
|
memcache = ["aiomcache"]
|
|
dynamodb = ["aiobotocore"]
|
|
all = ["redis", "aiomcache", "aiobotocore"]
|
|
|
|
[tool.mypy]
|
|
files = ["."]
|
|
python_version = "3.7"
|
|
# equivalent of --strict
|
|
warn_unused_configs = true
|
|
disallow_any_generics = true
|
|
disallow_subclassing_any = true
|
|
disallow_untyped_calls = true
|
|
disallow_untyped_defs = true
|
|
disallow_incomplete_defs = true
|
|
check_untyped_defs = true
|
|
disallow_untyped_decorators = true
|
|
warn_redundant_casts = true
|
|
warn_unused_ignores = true
|
|
warn_return_any = true
|
|
no_implicit_reexport = true
|
|
strict_equality = true
|
|
strict_concatenate = true
|
|
|
|
[[tool.mypy.overrides]]
|
|
module = "examples.*.main"
|
|
ignore_errors = true
|
|
|
|
[tool.pyright]
|
|
strict = ["fastapi_cache", "tests"]
|
|
pythonVersion = "3.7"
|
|
|
|
[tool.pytest.ini_options]
|
|
addopts = "-p no:warnings"
|
|
|
|
[tool.ruff]
|
|
ignore = ["E501"]
|
|
line-length = 80
|
|
select = [
|
|
"B", # flake8-bugbear
|
|
"C4", # flake8-comprehensions
|
|
"E", # pycodestyle errors
|
|
"F", # pyflakes
|
|
"I", # isort
|
|
"S", # flake8-bandit
|
|
"W", # pycodestyle warnings
|
|
"UP", # pyupgrade
|
|
]
|
|
target-version = "py37"
|
|
|
|
[build-system]
|
|
requires = ["poetry-core"]
|
|
build-backend = "poetry.core.masonry.api"
|