2019-11-08 15:47:37 +03:00
[ tool . poetry ]
name = "generic"
2022-11-20 21:53:36 +03:00
version = "1.1.1"
2019-11-08 15:47:37 +03:00
description = "Generic programming library for Python"
authors = [
"Andrey Popp <8mayday@gmail.com>" ,
2019-11-09 11:51:11 +03:00
"Arjan Molenaar <gaphor@gmail.com>"
]
maintainers = [
2019-11-08 15:49:40 +03:00
"Arjan Molenaar <gaphor@gmail.com>" ,
"Dan Yeaw <dan@yeaw.me>"
2019-11-08 15:47:37 +03:00
]
2019-11-09 11:51:11 +03:00
2019-11-08 15:47:37 +03:00
license = "BSD License"
readme = "README.md"
homepage = "https://generic.readthedocs.io/"
repository = "https://github.com/gaphor/generic"
documentation = "https://generic.readthedocs.io/"
keywords = [ "generic" , "multi dispatch" , "dispatch" , "event" ]
classifiers = [
"Development Status :: 5 - Production/Stable" ,
"Intended Audience :: Developers" ,
"Intended Audience :: Information Technology" ,
"License :: OSI Approved :: BSD License" ,
"Programming Language :: Python" ,
]
[ tool . poetry . dependencies ]
2021-10-16 18:52:04 +03:00
python = "^3.8"
2023-02-03 06:24:03 +03:00
exceptiongroup = "^1.0.0"
2023-05-24 00:02:09 +03:00
sphinx = { version = ">=4.3,<7.1" , optional = true }
2023-03-25 02:16:40 +03:00
furo = { version = ">=2022,<2024" , optional = true }
2019-11-08 15:47:37 +03:00
[ tool . poetry . dev-dependencies ]
2023-06-24 01:57:27 +03:00
pytest = "^7.4"
2023-05-26 04:15:49 +03:00
pytest-cov = "^4.1"
2019-11-08 15:47:37 +03:00
2023-02-03 06:24:03 +03:00
[ tool . poetry . extras ]
docs = [ "sphinx" , "furo" ]
2022-12-21 23:35:40 +03:00
2020-10-20 04:50:49 +03:00
[ tool . pytest . ini_options ]
testpaths = [
"tests" ,
"docs" ,
]
2022-11-20 06:03:14 +03:00
addopts = [
"--doctest-modules" ,
"--doctest-glob='*.rst'" ,
"--import-mode=importlib" ,
]
2020-10-20 04:50:49 +03:00
2020-10-24 22:10:42 +03:00
[ tool . coverage . run ]
source = [ "generic" ]
2022-11-20 06:03:14 +03:00
[ tool . mypy ]
python_version = 3.9
warn_return_any = true
warn_unused_configs = true
warn_redundant_casts = true
check_untyped_defs = true
strict_optional = true
show_error_codes = true
ignore_missing_imports = true
warn_unused_ignores = true
namespace_packages = true
[ [ tool . mypy . overrides ] ]
module = [
"pytest.*" ,
"conf" ,
]
ignore_missing_imports = true
warn_unreachable = true
2023-02-03 06:06:51 +03:00
[ tool . ruff ]
exclude = [
".venv" ,
"dist" ,
]
ignore = [ "E501" ]
line-length = 88
select = [
"B" ,
"B9" ,
"C" ,
"E" ,
"F" ,
"W" ,
]
[ tool . ruff . mccabe ]
max-complexity = 18
2022-11-20 06:03:14 +03:00
[ build-system ]
requires = [ "poetry-core>=1.0.0" ]
build-backend = "poetry.core.masonry.api"