[project] name = "cowrie" version = "2.4.0" [tool.setuptools] package-dir = {"" = "src"} [tool.setuptools.packages.find] where = ["src"] [tool.mypy] namespace_packages = true plugins = [ "mypy_zope:plugin" ] ignore_missing_imports = true warn_unused_configs = true no_implicit_optional = true show_column_numbers = true show_error_codes = true strict_optional = true warn_no_return = true warn_redundant_casts = true warn_return_any = true warn_unreachable = true disallow_incomplete_defs = true disallow_any_unimported = true strict_equality = true disallow_untyped_decorators = true disallow_subclassing_any = true warn_unused_ignores = true # Getting these passing should be easy strict_concatenate = true # These are too strict for us at the moment check_untyped_defs = false disallow_untyped_defs = false disallow_any_decorated = false disallow_any_explicit = false disallow_any_expr = false disallow_any_generics = false disallow_untyped_calls = false [tool.pylint."MESSAGES CONTROL"] disable = ["R0901", "R0902", "R0903", "R0904", "R0912", "R0913", "R0914", "R0915", "C0103", "C0114", "C0115", "C0116", "C0301"] [tool.isort] profile = "black" known_zope = "zope" known_twisted = "twisted" known_first_party = ["cowrie","backend_pool"] sections=["FUTURE","STDLIB","THIRDPARTY","ZOPE","TWISTED","FIRSTPARTY","LOCALFOLDER"] [tool.ruff] line-length = 88 # Enable Pyflakes `E` and `F` codes by default. select = ["E", "F"] ignore = ["E501"] # Assume Python 3.10. target-version = "py310"