metadex/pyproject.toml
2023-04-15 16:55:56 +02:00

79 lines
1.5 KiB
TOML

[project]
requires-python = ">=3.8"
[tool.poetry]
name = "metadex"
version = "0.1.0"
description = ""
authors = ["ducklet <ducklet@noreply.code.dumpr.org>"]
[tool.poetry.dependencies]
python = "^3.8"
SQLAlchemy = {version = "^2.0"}
wcwidth = "^0.2.5"
typing-extensions = "*"
[tool.poetry.group.dev.dependencies]
interrogate = "*"
black = "*"
isort = "*"
autoflake = "*"
mypy = "*"
ruff = "*"
[tool.poetry.group.test.dependencies]
pytest = "^7.2.0"
pytest-cov = "^4.0.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.interrogate]
ignore-init-module = true
ignore-module = true
ignore-magic = true
fail-under = 80
exclude = ["tests"]
[tool.mypy]
check_untyped_defs = true
disallow_any_unimported = true
disallow_incomplete_defs = true
disallow_untyped_defs = true
no_implicit_optional = true
plugins = "sqlalchemy.ext.mypy.plugin"
show_error_codes = true
strict_equality = true
warn_return_any = true
warn_unused_ignores = true
[[tool.mypy.overrides]]
module = [
"wcwidth",
]
ignore_missing_imports = true
[tool.isort]
profile = "black"
[tool.autoflake]
remove-duplicate-keys = true
remove-unused-variables = true
remove-all-unused-imports = true
ignore-init-module-imports = true
ignore-pass-after-docstring = true
[tool.ruff]
# See https://beta.ruff.rs/docs/rules/
ignore = [
"E501", # line length, handled by Black
]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"I", # isort
"F", # Pyflakes
"B", # flake8-bugbear
"C4", # flake8-comprehensions checks.
]