| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- [build-system]
- requires = ["setuptools>=61.0"]
- build-backend = "setuptools.build_meta"
- [project]
- name = "databank"
- version = "0.0.1"
- description = "Databank - abstract-only initialization"
- readme = "README.md"
- requires-python = ">=3.9"
- license = { file = "LICENSE" }
- [tool.setuptools]
- package-dir = {"" = "src"}
- [tool.setuptools.packages.find]
- where = ["src"]
- include = ["databank*"]
- [tool.pytest.ini_options]
- addopts = "-q"
- pythonpath = ["src"]
- # Optional: Lint settings (no dependency changes here; for reference only)
- [tool.pylint.main]
- py-version = "3.9"
- jobs = 0
- recursive = true
- [tool.pylint.messages_control]
- disable = [
- "too-few-public-methods", # common for ABCs/interfaces
- "too-many-arguments", # allowed in abstract signatures
- "too-many-instance-attributes",
- ]
- enable = [
- "C0116", # missing-function-docstring (kept enabled, already addressed)
- ]
- [tool.pylint.format]
- max-line-length = 100
- [tool.pylint.basic]
- good-names = [
- "db", "id", "url", "raw", "exc", "tb"
- ]
- # Optional: Ruff configuration (only active if ruff is installed in your env)
- [tool.ruff]
- line-length = 100
- target-version = "py39"
- extend-select = [
- "E", # pycodestyle errors
- "F", # pyflakes
- "N", # pep8-naming
- ]
- extend-ignore = [
- # Allow short names in specific contexts (already handled via pylint good-names)
- ]
- # Optional: mypy configuration (only active if mypy is installed in your env)
- [tool.mypy]
- python_version = "3.9"
- warn_return_any = true
- warn_unused_ignores = true
- ignore_missing_imports = true
- no_implicit_optional = false
- strict_optional = false
- disallow_untyped_defs = false
|