glowtables/pyproject.toml

67 lines
1.2 KiB
TOML

[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "glowtables"
version = "0.0.1"
requires-python = ">=3.9"
dependencies = [
"flask ~= 2.0",
"rdflib ~= 6.0",
"requests ~= 2.0",
]
[project.optional-dependencies]
testing = [
"pytest",
"pytest-mock",
"requests-mock",
"types-requests",
"types-setuptools",
]
[project.entry-points."glowtables.tables"]
example_cats = "glowtables.examples.cats:cats"
[tool.isort]
profile = "black"
[tool.mypy]
python_version = "3.9"
[[tool.mypy.overrides]]
module = [
"requests_mock",
]
ignore_missing_imports = true
[tool.pylint.format]
max-line-length = "88"
py-version = "3.9"
disable = [
# too annoying:
"fixme",
"invalid-name",
"no-else-return",
"no-else-continue",
"too-few-public-methods",
"too-many-instance-attributes",
# false positives:
"unreachable",
"assignment-from-no-return",
# mypy does it better:
"no-member",
"unsupported-membership-test",
"import-error",
"undefined-loop-variable",
# flake8 does it already:
"line-too-long",
]
ignore-paths = [
"glowtables/tests/.*_test.py"
]
[tool.pytest.ini_options]
python_files = "*_test.py"