cowrie/pyproject.toml

73 lines
1.7 KiB
TOML
Raw Normal View History

[project]
name = "cowrie"
version = "2.4.0"
[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.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
2022-12-15 03:46:15 +00:00
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
2022-12-15 03:46:15 +00:00
2022-12-15 03:46:15 +00:00
[tool.pylint."MESSAGES CONTROL"]
disable = ["R0901", "R0902", "R0903", "R0904", "R0912", "R0913", "R0914", "R0915", "C0103", "C0114", "C0115", "C0116", "C0301"]
[tool.pyright]
[tool.ruff]
line-length = 88
# Enable Pyflakes `E` and `F` codes by default.
select = ["E", "F", "UP", "YTT", "B", "T20", "Q", "PLR", "RUF"]
ignore = ["E501", "UP007", "B019", "RUF001"]
# Assume Python 3.10.
target-version = "py310"
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
where = ["src"]